Fix theme editing.
authorRadek Czajka <rczajka@rczajka.pl>
Tue, 7 Sep 2021 07:37:12 +0000 (09:37 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Tue, 7 Sep 2021 07:37:12 +0000 (09:37 +0200)
src/redakcja/static/js/wiki/view_editor_wysiwyg.js

index 4554bbe..5492589 100644 (file)
                                 spoint.insertNode(btag[0])
                                 btag.replaceWith(text);
                                 selection.removeAllRanges();
-                                openForEdit($('.motyw[theme-class="' + id + '"]'));
+                                openForEdit($('[x-node="motyw"][theme-class="' + id + '"]'));
                             }
                         });
                     }