Skip to content

A plugin for CKEditor 5 that introduces the visual code editor when entering the "Source" mode.

Notifications You must be signed in to change notification settings

pomek/ckeditor5-source-editing-editor

Repository files navigation

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( ... );

About

A plugin for CKEditor 5 that introduces the visual code editor when entering the "Source" mode.

Resources

Stars

Watchers

Forks

Packages

No packages published