|
|
@@ -9,11 +9,12 @@ import ClassicEditor from '/ckeditor5/editor-classic/classic.js';
|
|
|
import Enter from '/ckeditor5/enter/enter.js';
|
|
|
import Typing from '/ckeditor5/typing/typing.js';
|
|
|
import Paragraph from '/ckeditor5/paragraph/paragraph.js';
|
|
|
+import Bold from '/ckeditor5/basic-styles/bold.js';
|
|
|
import Undo from '/ckeditor5/undo/undo.js';
|
|
|
|
|
|
ClassicEditor.create( document.querySelector( '#editor' ), {
|
|
|
- features: [ Enter, Typing, Paragraph, Undo ],
|
|
|
- toolbar: []
|
|
|
+ features: [ Enter, Typing, Paragraph, Undo, Bold ],
|
|
|
+ toolbar: [ 'bold' ]
|
|
|
} )
|
|
|
.then( editor => {
|
|
|
window.editor = editor;
|