|
|
@@ -14,7 +14,10 @@ import './extras.scss';
|
|
|
ClassicEditor
|
|
|
.create( document.querySelector( '#snippet-classic-editor' ), {
|
|
|
plugins: [ ArticlePluginSet ],
|
|
|
- toolbar: [ 'headings', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ],
|
|
|
+ toolbar: {
|
|
|
+ items: [ 'headings', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ],
|
|
|
+ viewportTopOffset: 60
|
|
|
+ },
|
|
|
image: {
|
|
|
toolbar: [ 'imageStyleFull', 'imageStyleSide', '|', 'imageTextAlternative' ]
|
|
|
}
|