Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev
This commit is contained in:
+1
-1
@@ -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