From f216a5268a7e03c010b6abaed1fb29d1e387fa1f Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 11 Feb 2025 15:31:45 +0100 Subject: [PATCH] fix for numbering --- src/redakcja/static/js/wiki/view_editor_wysiwyg.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/redakcja/static/js/wiki/view_editor_wysiwyg.js b/src/redakcja/static/js/wiki/view_editor_wysiwyg.js index 2e1c28d2..4a3cd6bd 100644 --- a/src/redakcja/static/js/wiki/view_editor_wysiwyg.js +++ b/src/redakcja/static/js/wiki/view_editor_wysiwyg.js @@ -951,6 +951,7 @@ let $e = $(e); if ($e.closest('[x-node="abstrakt"]').length) return; if ($e.closest('[x-node="nota_red"]').length) return; + if ($e.closest('[x-annotation-box="true"]').length) return; let node = $e.attr('x-node'); if (node == 'numeracja') { number = 0; -- 2.20.1