Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge 3d6b32f into cde24b3
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Mar 14, 2018
2 parents cde24b3 + 3d6b32f commit b8d3e52
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/decouplededitoruiview.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,8 @@ export default class DecoupledEditorUIView extends EditorUIView {
class: 'ck-reset_all'
}
} );
}

/**
* @inheritDoc
*/
render() {
super.render();

this.toolbar.render();
this.editable.render();
this.registerChildren( [ this.toolbar, this.editable ] );
}

/**
Expand All @@ -84,9 +76,6 @@ export default class DecoupledEditorUIView extends EditorUIView {
if ( removeEditable ) {
this.editable.element.remove();
}

this.toolbar.destroy();
this.editable.destroy();
}

/**
Expand Down

0 comments on commit b8d3e52

Please sign in to comment.