From db96fddca0e806c964b709a99bf80dfc59c09743 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bend=C3=ADk?= Date: Sat, 10 Jul 2021 19:16:41 +0200 Subject: [PATCH] =?UTF-8?q?Vypnut=C3=BD=20m=C3=A1lo=20pou=C5=BE=C3=ADvan?= =?UTF-8?q?=C3=BD=20sub=20/=20sup,=20refs=20#137?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/richeditor/editor2.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/richeditor/editor2.js b/static/js/richeditor/editor2.js index e4642541e..ae951a2bf 100644 --- a/static/js/richeditor/editor2.js +++ b/static/js/richeditor/editor2.js @@ -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});