mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix tag editor triggering editable sliders logic
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user