mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -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);
|
||||
resetHandle();
|
||||
}}
|
||||
on:close={resetHandle}
|
||||
on:close={() => {
|
||||
placeHandle(true);
|
||||
resetHandle();
|
||||
}}
|
||||
let:editor={mathjaxEditor}
|
||||
>
|
||||
<Shortcut
|
||||
|
|
Loading…
Reference in a new issue