classic-editor-short.js 370 B

123456789101112131415
  1. /**
  2. * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. /* globals ClassicEditor, console, window, document */
  6. ClassicEditor
  7. .create( document.querySelector( '#snippet-classic-editor-short' ) )
  8. .then( editor => {
  9. window.editor = editor;
  10. } )
  11. .catch( err => {
  12. console.error( err );
  13. } );