framededitable.js 371 B

12345678910111213141516
  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 Editable from '/ckeditor5/ui/editable/editable.js';
  7. export default class FramedEditable extends Editable {
  8. constructor( editor ) {
  9. super( editor );
  10. this.viewModel.bind( 'width', 'height' ).to( editor.ui );
  11. }
  12. }