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