The data processor interface. It should be implemented by actual data processors.
Note: While the CKEditor 5 architecture supports changing the data format, in most scenarios we do recommend sticking to
the default format which is HTML (supported by the
HTML remains the best standard for rich-text data.
And please do remember – using Markdown does not automatically make your application/website secure.
registerRawContentMatcher( pattern )
MatcherPatternfor view elements whose content should be treated as raw data and its content should be converted to a custom property of a view element called
"$rawContent"while converting to view.
pattern : MatcherPattern
Pattern matching all view elements whose content should be treated as plain text.
toData( fragment ) → *
useFillerType( type )
If the processor is set to use marked fillers, it will insert
fillers wrapped in
<span data-cke-filler="true"> </span>) instead of regular
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.
type : 'default' | 'marked'
Whether to use the default or marked
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.