PasteFromOfficeMSWordNormalizer
class
Normalizer for the content pasted from Microsoft Word.
Properties
-
document : ViewDocument
readonlymodule:paste-from-office/normalizers/mswordnormalizer~PasteFromOfficeMSWordNormalizer#document
-
hasMultiLevelListPlugin : boolean
readonlymodule:paste-from-office/normalizers/mswordnormalizer~PasteFromOfficeMSWordNormalizer#hasMultiLevelListPlugin
Methods
-
constructor( document, hasMultiLevelListPlugin )
module:paste-from-office/normalizers/mswordnormalizer~PasteFromOfficeMSWordNormalizer#constructor
Creates a new
PasteFromOfficeMSWordNormalizer
instance.Parameters
document : ViewDocument
View document.
hasMultiLevelListPlugin : boolean
-
Defaults to
false
-
execute( data ) → void
module:paste-from-office/normalizers/mswordnormalizer~PasteFromOfficeMSWordNormalizer#execute
Executes the normalization of a given data.
Parameters
Returns
void
-
isActive( htmlString ) → boolean
module:paste-from-office/normalizers/mswordnormalizer~PasteFromOfficeMSWordNormalizer#isActive
Must return
true
if thehtmlString
contains content which this normalizer can transform.Parameters
htmlString : string
Returns
boolean