|
|
@@ -175,18 +175,18 @@ You can now import all the needed plugins and the creator directly into your cod
|
|
|
```js
|
|
|
import ClassicEditorBase from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
|
|
|
import EssentialsPlugin from '@ckeditor/ckeditor5-essentials/src/essentials';
|
|
|
-import UploadadapterPlugin from '@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter';
|
|
|
+import UploadAdapterPlugin from '@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter';
|
|
|
import AutoformatPlugin from '@ckeditor/ckeditor5-autoformat/src/autoformat';
|
|
|
import BoldPlugin from '@ckeditor/ckeditor5-basic-styles/src/bold';
|
|
|
import ItalicPlugin from '@ckeditor/ckeditor5-basic-styles/src/italic';
|
|
|
-import BlockquotePlugin from '@ckeditor/ckeditor5-block-quote/src/blockquote';
|
|
|
-import EasyimagePlugin from '@ckeditor/ckeditor5-easy-image/src/easyimage';
|
|
|
+import BlockQuotePlugin from '@ckeditor/ckeditor5-block-quote/src/blockquote';
|
|
|
+import EasyImagePlugin from '@ckeditor/ckeditor5-easy-image/src/easyimage';
|
|
|
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 ImageuploadPlugin from '@ckeditor/ckeditor5-image/src/imageupload';
|
|
|
+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 ImageUploadPlugin from '@ckeditor/ckeditor5-image/src/imageupload';
|
|
|
import LinkPlugin from '@ckeditor/ckeditor5-link/src/link';
|
|
|
import ListPlugin from '@ckeditor/ckeditor5-list/src/list';
|
|
|
import ParagraphPlugin from '@ckeditor/ckeditor5-paragraph/src/paragraph';
|
|
|
@@ -195,18 +195,18 @@ export default class ClassicEditor extends ClassicEditorBase {}
|
|
|
|
|
|
ClassicEditor.builtinPlugins = [
|
|
|
EssentialsPlugin,
|
|
|
- UploadadapterPlugin,
|
|
|
+ UploadAdapterPlugin,
|
|
|
AutoformatPlugin,
|
|
|
BoldPlugin,
|
|
|
ItalicPlugin,
|
|
|
- BlockquotePlugin,
|
|
|
- EasyimagePlugin,
|
|
|
+ BlockQuotePlugin,
|
|
|
+ EasyImagePlugin,
|
|
|
HeadingPlugin,
|
|
|
ImagePlugin,
|
|
|
- ImagecaptionPlugin,
|
|
|
- ImagestylePlugin,
|
|
|
- ImagetoolbarPlugin,
|
|
|
- ImageuploadPlugin,
|
|
|
+ ImageCaptionPlugin,
|
|
|
+ ImageStylePlugin,
|
|
|
+ ImageToolbarPlugin,
|
|
|
+ ImageUploadPlugin,
|
|
|
LinkPlugin,
|
|
|
ListPlugin,
|
|
|
ParagraphPlugin
|
|
|
@@ -263,18 +263,18 @@ The second variant how to run the editor is to use the creator class directly, w
|
|
|
```js
|
|
|
import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
|
|
|
import EssentialsPlugin from '@ckeditor/ckeditor5-essentials/src/essentials';
|
|
|
-import UploadadapterPlugin from '@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter';
|
|
|
+import UploadAdapterPlugin from '@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter';
|
|
|
import AutoformatPlugin from '@ckeditor/ckeditor5-autoformat/src/autoformat';
|
|
|
import BoldPlugin from '@ckeditor/ckeditor5-basic-styles/src/bold';
|
|
|
import ItalicPlugin from '@ckeditor/ckeditor5-basic-styles/src/italic';
|
|
|
-import BlockquotePlugin from '@ckeditor/ckeditor5-block-quote/src/blockquote';
|
|
|
-import EasyimagePlugin from '@ckeditor/ckeditor5-easy-image/src/easyimage';
|
|
|
+import BlockQuotePlugin from '@ckeditor/ckeditor5-block-quote/src/blockquote';
|
|
|
+import EasyImagePlugin from '@ckeditor/ckeditor5-easy-image/src/easyimage';
|
|
|
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 ImageuploadPlugin from '@ckeditor/ckeditor5-image/src/imageupload';
|
|
|
+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 ImageUploadPlugin from '@ckeditor/ckeditor5-image/src/imageupload';
|
|
|
import LinkPlugin from '@ckeditor/ckeditor5-link/src/link';
|
|
|
import ListPlugin from '@ckeditor/ckeditor5-list/src/list';
|
|
|
import ParagraphPlugin from '@ckeditor/ckeditor5-paragraph/src/paragraph';
|
|
|
@@ -287,12 +287,12 @@ ClassicEditor
|
|
|
AutoformatPlugin,
|
|
|
BoldPlugin,
|
|
|
ItalicPlugin,
|
|
|
- BlockquotePlugin,
|
|
|
+ BlockQuotePlugin,
|
|
|
HeadingPlugin,
|
|
|
ImagePlugin,
|
|
|
- ImagecaptionPlugin,
|
|
|
- ImagestylePlugin,
|
|
|
- ImagetoolbarPlugin,
|
|
|
+ ImageCaptionPlugin,
|
|
|
+ ImageStylePlugin,
|
|
|
+ ImageToolbarPlugin,
|
|
|
LinkPlugin,
|
|
|
ListPlugin,
|
|
|
ParagraphPlugin
|