X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4334b1df511eb3a8161e9a98b1d3f00777e4e054..f769689fb6c21d76aa70f4113ba918e45b528576:/src/redakcja/static/js/wiki/view_editor_wysiwyg.js 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); } }