CKEditor can be set to accept any HTML element, attribute, style, or class. Additionally, the Source button allows users to edit raw HTML.
CKEditor 5 supports custom HTML markup and styles. Switch to the source mode to check out the HTML source of the content and play with it. See time
, abbr
, aside
and details
semantic elements as well as non-semantic tags and inline styles used to implement column layout.
See this demo live at ckeditor.com or read more about this feature in the CKEditor 5 documentation.
- Clone this repository:
git clone [email protected]:ckeditor/ckeditor5-demos.git
- Change the directory and install the dependencies:
cd ckeditor5-demos/source-code-editing && yarn
- Start the demo:
yarn dev