Skip to content

Commit

Permalink
Vypnutý málo používaný sub / sup, refs #137
Browse files Browse the repository at this point in the history
  • Loading branch information
mireq committed Jul 10, 2021
1 parent 3a726ac commit db96fdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions static/js/richeditor/editor2.js
Original file line number Diff line number Diff line change
Expand Up @@ -665,11 +665,13 @@ var SimpleEditorHtml = function(element, options) {
}
}

/*
if (hasTag('sup') || hasTag('sub')) {
tb = addToolbar();
if (hasTag('sup')) addButton(tb, {cls: 'icon-superscript', tag: 'sup', title: 'Horný index', onclick: triggerFunction});
if (hasTag('sup')) addButton(tb, {cls: 'icon-subscript', tag: 'sub', title: 'Dolný index', onclick: triggerFunction});
}
*/

tb = addToolbar();
if (hasTag('p')) addButton(tb, {cls: 'icon-bidiltr', tag: 'p', title: 'Odstavec', onclick: triggerFunction});
Expand Down

0 comments on commit db96fdd

Please sign in to comment.