@if (inGroup('history')) {
}
@if (inGroup('blockFormat') && hasNode('heading')) {
{{ 'RICH_TEXT_EDITOR.TOOLBAR.PARAGRAPH' | translate }}
{{ 'RICH_TEXT_EDITOR.TOOLBAR.HEADING' | translate: { level: 1 } }}
{{ 'RICH_TEXT_EDITOR.TOOLBAR.HEADING' | translate: { level: 2 } }}
{{ 'RICH_TEXT_EDITOR.TOOLBAR.HEADING' | translate: { level: 3 } }}
}
@if (inGroup('marks')) {
@if (hasMarkButton('bold')) {
}
@if (hasMarkButton('italic')) {
}
@if (hasMarkButton('underline')) {
}
@if (hasMarkButton('strike')) {
}
}
@if (inGroup('code') && (hasMark('code') || hasNode('codeBlock'))) {
@if (hasMark('code')) {
}
@if (inGroup('codeBlock') && hasNode('codeBlock')) {
}
}
@if (inGroup('script') && hasMark('subscript')) {
}
@if (inGroup('color') && hasMark('textStyle')) {
@if (hasMark('highlight')) {
}
@if (textColorOpen) {
@for (color of textColors; track color) {
}
}
@if (highlightOpen) {
@for (color of highlightColors; track color) {
}
}
}
@if (inGroup('font') && hasMark('textStyle')) {
{{ 'RICH_TEXT_EDITOR.TOOLBAR.FONT_FAMILY' | translate }}
@for (font of fontFamilies; track font) {
{{ font.label }}
}
}
@if (inGroup('align') && options.alignments.length) {
@if (hasAlignment('left')) {
}
@if (hasAlignment('center')) {
}
@if (hasAlignment('right')) {
}
@if (hasAlignment('justify')) {
}
}
@if (inGroup('lists')) {
@if (hasNode('taskList')) {
}
}
@if (inGroup('blocks')) {
@if (hasNode('horizontalRule')) {
}
}
@if (inGroup('insert')) {
@if (hasNode('table')) {
}
@if (hasNode('image')) {
}
@if (linkFormOpen) {
}
@if (imageFormOpen) {
}
}
@if (inGroup('clearFormat')) {
}
@if (active['table'] && hasNode('table')) {