rich-text-editor.component.ts: Hide 'indent' and 'outdent' from toolbar (cannot set it properly in export) | Changed "Hightlight" option of customClasses, from class: 'highlight' to tag: 'mark' (in order to also work in export).
This commit is contained in:
parent
d9fc4e49e8
commit
180ca8c378
|
@ -48,7 +48,7 @@ export class RichTextEditorComponent {
|
||||||
{ name: 'H4 header', class: '', tag: 'h4' },
|
{ name: 'H4 header', class: '', tag: 'h4' },
|
||||||
{ name: 'H5 header', class: '', tag: 'h5'},
|
{ name: 'H5 header', class: '', tag: 'h5'},
|
||||||
{ name: 'H6 header', class: '', tag: 'h6'},
|
{ name: 'H6 header', class: '', tag: 'h6'},
|
||||||
{ name: 'Highlight', class: 'highlight', tag: ''}
|
{ name: 'Highlight', class: '', tag: 'mark'}
|
||||||
],
|
],
|
||||||
toolbarHiddenButtons: [
|
toolbarHiddenButtons: [
|
||||||
[
|
[
|
||||||
|
@ -63,6 +63,10 @@ export class RichTextEditorComponent {
|
||||||
'insertVideo',
|
'insertVideo',
|
||||||
// 'removeFormat',
|
// 'removeFormat',
|
||||||
'toggleEditorMode'
|
'toggleEditorMode'
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'indent',
|
||||||
|
'outdent'
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue