PasteFromOfficeNormalizer
interface
Interface defining a content transformation pasted from an external editor.
Normalizers are registered by the PasteFromOffice plugin and run on inputTransformation event. They detect environment-specific quirks and transform it into a form compatible with other CKEditor features.
Methods
execute( data ) → voidmodule:paste-from-office/normalizer~PasteFromOfficeNormalizer#executeExecutes the normalization of a given data.
Parameters
Returns
void
isActive( htmlString ) → booleanmodule:paste-from-office/normalizer~PasteFromOfficeNormalizer#isActiveMust return
trueif thehtmlStringcontains content which this normalizer can transform.Parameters
htmlString : string
Returns
boolean