1.js 414 B

1234567891011121314
  1. /**
  2. * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. /* globals document */
  6. import ClassicEditor from '/ckeditor5/editor-classic/classic.js';
  7. import Bold from '/ckeditor5/basic-styles/bold.js';
  8. ClassicEditor.create( document.getElementById( 'editor' ), {
  9. features: [ 'enter', 'typing', 'paragraph', Bold ],
  10. toolbar: [ 'bold' ]
  11. } );