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
Dumps applied rule IDs.
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.
Registers a module:engine/view/matcher~MatcherPattern for view elements whose content should be treated as raw data
and its content should be converted to a
module:engine/view/element~ViewElement#getCustomProperty custom property of a view element called "$rawContent" while
converting #toView to view.
Pattern matching all view elements whose content should be treated as plain text.
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
Transforms data to data view, thus, from CoreMedia Rich Text 1.0 to CKEditor 5 HTML as expected in data view by CKEditor.
data to transform
If the processor is set to use marked fillers, it will insert fillers wrapped in <span> elements
(<span data-cke-filler="true"> </span>) instead of regular characters.
This mode allows for more precise handling of block fillers (so they do not leak into the editor content) but bloats the editor data with additional markup.
This mode may be required by some features and will be turned on by them automatically.
Whether to use the default or marked block fillers.
Data-Processor for CoreMedia RichText 1.0.