Exposes the richtext schema indirectly to the filters. It will be accessed via the data processor property of the editor.
Prepares toData transformation.
view fragment to transform
richTextDocument
the (empty) document, which shall receive the transformed data;
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 view model to process
CoreMedia RichText 1.0 XML as string
Internal toData
transformation, especially meant for testing purpose.
the fragment created from view
Optional
targetDocument: Documentthe target document, which will get the elements added and will be transformed according to the rules
the transformed CoreMedia RichText XML
Data-Processor for CoreMedia RichText 1.0.