ebryn / ember-ckeditor

Exposes CKEditor via friendly Ember Components
MIT License
29 stars 15 forks source link

`ember-ckeditor` component shouldn't render a toolbar by default #2

Open ebryn opened 9 years ago

ebryn commented 9 years ago

See #1

RyanHirsch commented 9 years ago

Something like the following will disable the toolbar.

let config = {};
if(this.disableToolbar) {
    config.removePlugins = 'toolbar';
}
let editor = this._editor = CKEDITOR.replace(textarea, config);

It doesn't address how to enable #1 though