PasteFromOfficeMSWordNormalizer
class
Normalizer for the content pasted from Microsoft Word.
Properties
document : ViewDocumentreadonlymodule:paste-from-office/normalizers/mswordnormalizer~PasteFromOfficeMSWordNormalizer#documenthasMultiLevelListPlugin : booleanreadonlymodule:paste-from-office/normalizers/mswordnormalizer~PasteFromOfficeMSWordNormalizer#hasMultiLevelListPlugin
Methods
constructor( document, hasMultiLevelListPlugin )module:paste-from-office/normalizers/mswordnormalizer~PasteFromOfficeMSWordNormalizer#constructorCreates a new
PasteFromOfficeMSWordNormalizerinstance.Parameters
document : ViewDocumentView document.
hasMultiLevelListPlugin : booleanDefaults to
false
execute( data ) → voidmodule:paste-from-office/normalizers/mswordnormalizer~PasteFromOfficeMSWordNormalizer#executeExecutes the normalization of a given data.
Parameters
Returns
void
isActive( htmlString ) → booleanmodule:paste-from-office/normalizers/mswordnormalizer~PasteFromOfficeMSWordNormalizer#isActiveMust return
trueif thehtmlStringcontains content which this normalizer can transform.Parameters
htmlString : string
Returns
boolean