From 4d5d62e773f5ad33c4843a09012f939f129204ee Mon Sep 17 00:00:00 2001 From: "Per Christian B. Viken" Date: Tue, 1 Oct 2013 13:05:32 +0200 Subject: [PATCH 1/2] Add super- and subscript to halloformat --- src/plugins/halloformat.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/halloformat.coffee b/src/plugins/halloformat.coffee index 95caf35..1a5ec0d 100644 --- a/src/plugins/halloformat.coffee +++ b/src/plugins/halloformat.coffee @@ -11,6 +11,8 @@ italic: true strikeThrough: false underline: false + superscript: false + subscript: false buttonCssClass: null populateToolbar: (toolbar) -> From 28e99d804a39aaddd6acaaa643625fcf663ebece Mon Sep 17 00:00:00 2001 From: "Per Christian B. Viken" Date: Tue, 1 Oct 2013 13:06:06 +0200 Subject: [PATCH 2/2] Update the README explaining how to enable superscript/subscript --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 60d692d..7fb750f 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Hallo provides some events that are useful for integration. You can use [jQuery ## Plugins -* halloformat - Adds Bold, Italic, StrikeThrough and Underline support to the toolbar. (Enable/Disable with options: "formattings": {"bold": true, "italic": true, "strikethrough": true, "underline": false}) +* halloformat - Adds Bold, Italic, StrikeThrough, Underline, Superscript and Subscript support to the toolbar. (Enable/Disable with options: "formattings": {"bold": true, "italic": true, "strikethrough": true, "underline": false, "superscript": false, "subscript": false}) * halloheadings - Adds support for H1, H2, H3. You can pass a headings option key "headers" with an array of header sizes (i.e. headers: [1,2,5,6]) * hallojustify - Adds align left, center, right support * hallolists - Adds support for ordered and unordered lists (Pick with options: "lists": {"ordered": false, "unordered": true})