From 2b609e53771c9e6572a0ec86b59a2180703ca8d2 Mon Sep 17 00:00:00 2001 From: "T. H. Wright" Date: Wed, 13 Nov 2019 11:10:20 -0500 Subject: [PATCH] Minor corrections; fix missing. --- common/head_tag.html | 14 ++++++++++---- settings.yml | 1 - 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/common/head_tag.html b/common/head_tag.html index d68d2ce..8a4aa75 100644 --- a/common/head_tag.html +++ b/common/head_tag.html @@ -64,6 +64,13 @@ api.addToolbarPopupMenuOptionsCallback(() => { label: "superscript_button" }; }); +api.addToolbarPopupMenuOptionsCallback(() => { + return { + action: "subscript", + icon: "subscript", + label: "subscript_button" + }; +}); api.modifyClass("controller:composer", { actions: { floatleft() { @@ -91,8 +98,7 @@ if (!translations.composer) { } translations.composer.underline_button_title = settings.underline_button; translations.composer.underline_text = - settings.underline_text; - + settings.underline_text; translations.composer.align_center_button_title = settings.align_center_button; translations.composer.align_center_text = settings.align_center_text; @@ -103,13 +109,13 @@ translations.composer.align_justify_button_title = settings.align_justify_button translations.composer.align_justify_text = settings.align_justify_text; translations.strikethrough_button = settings.strikethrough_button; -translations.composer.strikethrough_prompt = +translations.composer.strikethrough_text = settings.strikethrough_text; translations.superscript_button = settings.superscript_button; translations.composer.superscript_text = settings.superscript_text; translations.subscript_button = settings.subscript_button; -translations.composer.subscript_prompt = +translations.composer.subscript_text = settings.subscript_text; translations.composer.columns_button_title = settings.columns_button; translations.composer.columns_text = diff --git a/settings.yml b/settings.yml index 537f625..f372453 100644 --- a/settings.yml +++ b/settings.yml @@ -62,7 +62,6 @@ subscript_text: default: "Text" description: en: Enter the placeholder text that appears in the composer after the user clicks the button. - columns_button: default: "Columns" description: