Interface

DataProcessor (engine/dataprocessor)

@ckeditor/ckeditor5-engine/src/dataprocessor/dataprocessor

interface

The data processor interface. It should be implemented by actual data processors.

Each data processor implements a certain format of the data. For example, Markdown data processor will convert the data (a Markdown string) to a document fragment and back.

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 HtmlDataProcessor). HTML remains the best standard for rich-text data.

And please do remember – using Markdown does not automatically make your application/website secure.

Filtering

Methods