Structured JSONVersioned document model validation and round trip
Classic Theme This example uses the compact Classic theme so the editor height follows its content without page-canvas whitespace.
Two native hosts make Editra distinctive: use either a <div> or synchronized <textarea> with the same API and sanitization.
Try this example as
The document model is validated before it can replace editor content.
Example code
Preparing configuration…