Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 876 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 876 Bytes

CKEditor 5 Source Editing Editor

This feature adds the Ice editor when enabling the source editing plugin in CKEditor 5.

image

Installation

Install required packages:

npm install --save @ckeditor/ckeditor5-source-editing @pomek/ckeditor5-source-editing-editor

Then, enable these features in your editor:

import SourceEditing from '@ckeditor/ckeditor5-source-editing/src/sourceediting';
import SourceEditingEditor from '@pomek/ckeditor5-source-editing-editor/src/sourceeditingeditor';

ClassicEditor
	.create( document.querySelector( '#editor' ), {
		plugins: [ SourceEditing, SourceEditingEditor, ... ],
		toolbar: [ 'sourceEditing', ... ]
	} )
	.then( ... )
	.catch( ... );