This feature adds the Ice editor when enabling the source editing plugin in CKEditor 5.
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( ... );