/** * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md. */ import { ClassicEditor } from '../../build/ckeditor'; ClassicEditor.create( document.querySelector( '#editor' ) ) .then( editor => { window.editor = editor; } ) .catch( err => { console.error( err.stack ); } );