From 1d4b0afb31400e9bd11d79aed04105b77dd34c04 Mon Sep 17 00:00:00 2001 From: SillyLossy Date: Thu, 4 May 2023 14:18:10 +0300 Subject: [PATCH] Fix tag editor triggering editable sliders logic --- public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index 3c628bf8f..9255ba5fe 100644 --- a/public/script.js +++ b/public/script.js @@ -5646,7 +5646,7 @@ $(document).ready(function () { } }); - $(document).on('input', 'div[contenteditable="true"]', function () { + $(document).on('input', '.range-block-counter div[contenteditable="true"]', function () { const caretPosition = saveCaretPosition($(this).get(0)); const myText = $(this).text().trim(); $(this).text(myText); // trim line breaks and spaces