Skip to content

Latest commit

 

History

History
 
 

source-code-editing

Source code editing and HTML support

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.

Installation steps

  1. Clone this repository:
git clone [email protected]:ckeditor/ckeditor5-demos.git
  1. Change the directory and install the dependencies:
cd ckeditor5-demos/source-code-editing && yarn
  1. Start the demo:
yarn start