MSWordNormalizer (paste-from-office/normalizers)
@ckeditor/ckeditor5-paste-from-office/src/normalizers/mswordnormalizer
class
Normalizer for the content pasted from Microsoft Word.
Filtering
Properties
-
readonly
hasMultiLevelListPlugin : boolean
module:paste-from-office/normalizers/mswordnormalizer~MSWordNormalizer#hasMultiLevelListPlugin
Methods
-
constructor( document, hasMultiLevelListPlugin )
module:paste-from-office/normalizers/mswordnormalizer~MSWordNormalizer#constructor
Creates a new
MSWordNormalizer
instance.Parameters
document : Document
View document.
hasMultiLevelListPlugin : boolean
-
Defaults to
false
-
execute( data ) → void
module:paste-from-office/normalizers/mswordnormalizer~MSWordNormalizer#execute
-
isActive( htmlString ) → boolean
module:paste-from-office/normalizers/mswordnormalizer~MSWordNormalizer#isActive
Must return
true
if thehtmlString
contains content which this normalizer can transform.Parameters
htmlString : string
Returns
boolean
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing? Please report it via our issue tracker.