Constructor of plugin.
editor instance, the plugin belongs to
Adds a single rule configuration.
Note that for adding multiple rules at once, addRules
is preferred
instead.
configuration to add
Adds a set of rules to the configuration.
configurations to add
Prepares toData transformation.
view fragment to transform
domFragment
the view DOM-structure to transform;
fragmentAsStringForDebugging
some representation of domFragment
to be used for debugging — it will only
be initialized, if debug logging is turned on.
Transforms CKEditor HTML to CoreMedia RichText 1.0. Note that
to trigger data processor for empty text as well, you have to set the
option trim: 'none'
on CKEditor.getData()
.
fragment from the view model to process
CoreMedia RichText 1.0 XML as string
Data-Processor for CoreMedia RichText 1.0.