Fix cursor moving to field start when closing MathJax editor
Closes #2258
This commit is contained in:
parent
2179f9e133
commit
8506206c5b
@ -223,7 +223,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
resetHandle();
|
||||
}}
|
||||
on:blur={async () => {
|
||||
resetHandle();
|
||||
await tick();
|
||||
await resetHandle();
|
||||
}}
|
||||
on:close={resetHandle}
|
||||
let:editor={mathjaxEditor}
|
||||
|
Loading…
Reference in New Issue
Block a user