mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
sync scroll after syntax highlight update
This commit is contained in:
@ -902,6 +902,7 @@ export class QuickReply {
|
||||
`<div>${hljs.highlight(`${message.value}${message.value.slice(-1) == '\n' ? ' ' : ''}`, { language:'stscript', ignoreIllegals:true })?.value}</div>`,
|
||||
{ childrenOnly: true },
|
||||
);
|
||||
updateScrollDebounced();
|
||||
}
|
||||
};
|
||||
let lastSyntaxUpdate = 0;
|
||||
|
Reference in New Issue
Block a user