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 ) → void
module:paste-from-office/normalizer~PasteFromOfficeNormalizer#execute
Executes the normalization of a given data.
Parameters
Returns
void
-
isActive( htmlString ) → boolean
module:paste-from-office/normalizer~PasteFromOfficeNormalizer#isActive
Must return
true
if thehtmlString
contains content which this normalizer can transform.Parameters
htmlString : string
Returns
boolean