| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- /**
- * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md.
- */
- import ClassicEditorBase from '@ckeditor/ckeditor5-editor-classic/src/classic';
- import BoldPlugin from '@ckeditor/ckeditor5-basic-styles/src/bold';
- import ItalicPlugin from '@ckeditor/ckeditor5-basic-styles/src/italic';
- import ClipboardPlugin from '@ckeditor/ckeditor5-clipboard/src/clipboard';
- import EnterPlugin from '@ckeditor/ckeditor5-enter/src/enter';
- import HeadingPlugin from '@ckeditor/ckeditor5-heading/src/heading';
- import ImagePlugin from '@ckeditor/ckeditor5-image/src/image';
- import ImagecaptionPlugin from '@ckeditor/ckeditor5-image/src/imagecaption';
- import ImagestylePlugin from '@ckeditor/ckeditor5-image/src/imagestyle';
- import ImagetoolbarPlugin from '@ckeditor/ckeditor5-image/src/imagetoolbar';
- import LinkPlugin from '@ckeditor/ckeditor5-link/src/link';
- import ListPlugin from '@ckeditor/ckeditor5-list/src/list';
- import ParagraphPlugin from '@ckeditor/ckeditor5-paragraph/src/paragraph';
- import TypingPlugin from '@ckeditor/ckeditor5-typing/src/typing';
- import UndoPlugin from '@ckeditor/ckeditor5-undo/src/undo';
- export default class ClassicEditor extends ClassicEditorBase {}
- ClassicEditor.build = {
- plugins: [
- BoldPlugin,
- ItalicPlugin,
- ClipboardPlugin,
- EnterPlugin,
- HeadingPlugin,
- ImagePlugin,
- ImagecaptionPlugin,
- ImagestylePlugin,
- ImagetoolbarPlugin,
- LinkPlugin,
- ListPlugin,
- ParagraphPlugin,
- TypingPlugin,
- UndoPlugin
- ],
- config: {
- toolbar: [
- 'headings',
- 'bold',
- 'italic',
- 'link',
- 'unlink',
- 'bulletedList',
- 'numberedList',
- 'undo',
- 'redo'
- ]
- }
- };
|