JSX syntax for CKEditor 5 converters - an experiment
The content in the CKEditor 5 is represented by a custom data model. It provides a layer of abstraction over the HTML data that is used to store the content (the data view). To translate the model representation to the target data format (in most cases HTML), the developer must provide a set of converters. This article showcases another approach to writing model-to-view converters and introduces a JSX-compatible syntax that allows to write converters by defining the expected output with syntax that is similar to the HTML data format.