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 4e232699d7
commit 00e92da0fb

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