| 12345678910111213141516171819 |
- /**
- * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md.
- */
- /* globals console, window, document */
- import ClassicEditor from '@ckeditor/ckeditor5-build-classic/src/ckeditor';
- ClassicEditor
- .create( document.querySelector( '#snippet-placeholder' ), {
- placeholder: 'Type the content here!'
- } )
- .then( editor => {
- window.editor = editor;
- } )
- .catch( err => {
- console.error( err.stack );
- } );
|