From: Radek Czajka Date: Tue, 27 Jun 2023 12:19:57 +0000 (+0200) Subject: Remove some uwaga buttons. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/f769689fb6c21d76aa70f4113ba918e45b528576 Remove some uwaga buttons. --- diff --git a/src/redakcja/static/js/wiki/view_editor_wysiwyg.js b/src/redakcja/static/js/wiki/view_editor_wysiwyg.js index e5b0796b..f3d18fd7 100644 --- a/src/redakcja/static/js/wiki/view_editor_wysiwyg.js +++ b/src/redakcja/static/js/wiki/view_editor_wysiwyg.js @@ -661,7 +661,10 @@ if (!editable.hasClass('active')) { editable.addClass('active').append(button); - if (!editable.is('[x-edit-attribute]')) { + if (!editable.is('[x-edit-attribute]') && + !editable.is('.annotation-inline-box') && + !editable.is('[x-edit-no-format]') + ) { editable.append(uwagaButton); } }