From 2e7d5de06db6bc8692b4f9fd9ebed75d6f0f0b8a Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 7 Sep 2021 09:37:12 +0200 Subject: [PATCH 1/1] Fix theme editing. --- src/redakcja/static/js/wiki/view_editor_wysiwyg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redakcja/static/js/wiki/view_editor_wysiwyg.js b/src/redakcja/static/js/wiki/view_editor_wysiwyg.js index 4554bbe7..54925897 100644 --- a/src/redakcja/static/js/wiki/view_editor_wysiwyg.js +++ b/src/redakcja/static/js/wiki/view_editor_wysiwyg.js @@ -237,7 +237,7 @@ spoint.insertNode(btag[0]) btag.replaceWith(text); selection.removeAllRanges(); - openForEdit($('.motyw[theme-class="' + id + '"]')); + openForEdit($('[x-node="motyw"][theme-class="' + id + '"]')); } }); } -- 2.20.1