Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Add support for superscript and subscript to halloformat #201

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down
2 changes: 2 additions & 0 deletions src/plugins/halloformat.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
italic: true
strikeThrough: false
underline: false
superscript: false
subscript: false
buttonCssClass: null

populateToolbar: (toolbar) ->
Expand Down