I am trying to reduce the number of buttons shown in the toolbar. I've tried it with V3.0.0-beta.0 as well as with V2.1.0 with no effect whatsoever.
public editorConfig: AngularEditorConfig = {
editable: true,
enableToolbar: false,
showToolbar: true,
defaultParagraphSeparator: '<p>',
sanitize: true,
fonts: [],
toolbarHiddenButtons: [
[
'underline',
'strikeThrough',
'subscript',
'superscript',
'indent',
'outdent',
'insertUnorderedList',
'insertOrderedList',
'heading',
],
[
'backgroundColor',
'customClasses',
'insertImage',
'insertVideo',
'toggleEditorMode'
]
]
};
I get no errors, no warning and alas full toolbar. Any ideas why this happens?
I am trying to reduce the number of buttons shown in the toolbar. I've tried it with V3.0.0-beta.0 as well as with V2.1.0 with no effect whatsoever.
Here is my config:
Here is the template
<angular-editor formControlName="body" [config]="editorConfig"></angular-editor>I get no errors, no warning and alas full toolbar. Any ideas why this happens?