place caret after mathjax element on overlay close event

This commit is contained in:
llama 2025-05-18 14:45:23 +08:00
parent d3d6bd8ce0
commit dac08fe71d
No known key found for this signature in database
GPG key ID: 0B7543854B9413C3

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