mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
place caret after mathjax element on overlay close event (#4016)
This commit is contained in:
parent
150683ebe2
commit
31d877f20d
1 changed files with 4 additions and 1 deletions
|
@ -232,7 +232,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
placeHandle(true);
|
placeHandle(true);
|
||||||
resetHandle();
|
resetHandle();
|
||||||
}}
|
}}
|
||||||
on:close={resetHandle}
|
on:close={() => {
|
||||||
|
placeHandle(true);
|
||||||
|
resetHandle();
|
||||||
|
}}
|
||||||
let:editor={mathjaxEditor}
|
let:editor={mathjaxEditor}
|
||||||
>
|
>
|
||||||
<Shortcut
|
<Shortcut
|
||||||
|
|
Loading…
Reference in a new issue