Update head_tag.html
This commit is contained in:
parent
01de9708d0
commit
c5b28c8651
@ -57,6 +57,14 @@ api.onToolbarCreate(toolbar => {
|
||||
perform: e => e.applySurround('[wrap="justify"]\n', '\n[/wrap]', 'align_justify_text')
|
||||
});
|
||||
});
|
||||
api.onToolbarCreate(toolbar => {
|
||||
toolbar.addButton({
|
||||
id: "bbcode_color_button",
|
||||
group: "extras",
|
||||
icon: "palette",
|
||||
perform: e => e.applySurround('[color=#222]', '[/color]', 'bbcode_color_text')
|
||||
});
|
||||
});
|
||||
|
||||
// EXTRAS
|
||||
api.addToolbarPopupMenuOptionsCallback(() => {
|
||||
@ -114,6 +122,10 @@ translations.composer.strikethrough_button_title = settings.strikethrough_button
|
||||
translations.composer.strikethrough_text =
|
||||
settings.strikethrough_text;
|
||||
|
||||
translations.composer.bbcode_color_button_title = settings.bbcode_color_button;
|
||||
translations.composer.bbcode_color_text =
|
||||
settings.bbcode_color_text;
|
||||
|
||||
translations.composer.superscript_button_title = settings.superscript_button;
|
||||
translations.composer.superscript_text =
|
||||
settings.superscript_text;
|
||||
|
Loading…
Reference in New Issue
Block a user