view.js 413 B

1234567891011121314151617181920212223
  1. /**
  2. * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. 'use strict';
  6. import View from '/ckeditor5/core/ui/view.js';
  7. export default class ChromeView extends View {
  8. constructor( model ) {
  9. super( model );
  10. this.template = {
  11. tag: 'div',
  12. attrs: {
  13. 'class': [ 'ck-chrome' ]
  14. }
  15. };
  16. this.register( 'main', el => el );
  17. }
  18. }