| 1234567891011121314151617181920 |
- /**
- * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md.
- */
- /* globals ClassicEditor, console, window, document */
- ClassicEditor
- .create( document.querySelector( '#snippet-image' ), {
- removePlugins: [ 'ImageToolbar', 'ImageCaption', 'ImageStyle' ],
- toolbar: {
- viewportTopOffset: 60
- }
- } )
- .then( editor => {
- window.editorBasic = editor;
- } )
- .catch( err => {
- console.error( err.stack );
- } );
|