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