place caret after mathjax element on overlay close event (#4016)

This commit is contained in:
llama 2025-05-19 11:43:01 +08:00 committed by GitHub
parent 150683ebe2
commit 31d877f20d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -232,7 +232,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
placeHandle(true);
resetHandle();
}}
on:close={resetHandle}
on:close={() => {
placeHandle(true);
resetHandle();
}}
let:editor={mathjaxEditor}
>
<Shortcut