@kerebron/editor
v0.5.3
Published
Core editor is basic agnostic. All you need is an HTML element.
Downloads
1,128
Readme
Kerebron core editor
Core editor is basic agnostic. All you need is an HTML element.
Usage
import { CoreEditor } from '@kerebron/editor';
import { ExtensionBasicEditor } from '@kerebron/extension-basic-editor/ExtensionBasicEditor';
import { ExtensionHistory } from '@kerebron/extension-basic-editor/ExtensionHistory';
import { ExtensionMenu } from '@kerebron/extension-menu/ExtensionMenu';
this.editor = CoreEditor.create({
element: document.querySelector('div#editor'),
editorKits: [
new AdvancedEditorKit(),
],
});