GoogleDocsNormalizer
class
Normalizer for the content pasted from Google Docs.
Properties
document : ViewDocumentreadonlymodule:paste-from-office/normalizers/googledocsnormalizer~GoogleDocsNormalizer#document
Methods
constructor( document )module:paste-from-office/normalizers/googledocsnormalizer~GoogleDocsNormalizer#constructorexecute( data ) → voidmodule:paste-from-office/normalizers/googledocsnormalizer~GoogleDocsNormalizer#executeExecutes the normalization of a given data.
Parameters
Returns
void
isActive( htmlString ) → booleanmodule:paste-from-office/normalizers/googledocsnormalizer~GoogleDocsNormalizer#isActiveMust return
trueif thehtmlStringcontains content which this normalizer can transform.Parameters
htmlString : string
Returns
boolean