GoogleDocsNormalizer
class
Normalizer for the content pasted from Google Docs.
Properties
-
document : ViewDocument
readonlymodule:paste-from-office/normalizers/googledocsnormalizer~GoogleDocsNormalizer#document
Methods
-
constructor( document )
module:paste-from-office/normalizers/googledocsnormalizer~GoogleDocsNormalizer#constructor
-
execute( data ) → void
module:paste-from-office/normalizers/googledocsnormalizer~GoogleDocsNormalizer#execute
Executes the normalization of a given data.
Parameters
Returns
void
-
isActive( htmlString ) → boolean
module:paste-from-office/normalizers/googledocsnormalizer~GoogleDocsNormalizer#isActive
Must return
true
if thehtmlString
contains content which this normalizer can transform.Parameters
htmlString : string
Returns
boolean