| 1234567891011121314151617181920212223 |
- /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md.
- */
- /* globals console, window, document */
- import BalloonEditor from '@ckeditor/ckeditor5-build-balloon/src/ckeditor';
- import { TOKEN_URL } from '@ckeditor/ckeditor5-cloudservices/tests/_utils/cloudservices-config';
- BalloonEditor
- .create( document.querySelector( '#snippet-balloon-editor' ), {
- cloudServices: {
- tokenUrl: TOKEN_URL
- }
- } )
- .then( editor => {
- window.editor = editor;
- } )
- .catch( err => {
- console.error( err );
- } );
|