mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
Update editor when editing Mathjax
This commit is contained in:
parent
701f260c3f
commit
7168cbf99a
1 changed files with 4 additions and 1 deletions
|
@ -55,7 +55,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
<DropdownMenu>
|
<DropdownMenu>
|
||||||
<MathjaxHandleEditor
|
<MathjaxHandleEditor
|
||||||
initialValue={activeImage.parentElement?.dataset.mathjax ?? ""}
|
initialValue={activeImage.parentElement?.dataset.mathjax ?? ""}
|
||||||
on:update={onUpdate}
|
on:update={(event) => {
|
||||||
|
onUpdate(event);
|
||||||
|
setTimeout(dropdownObject.update);
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</DropdownMenu>
|
</DropdownMenu>
|
||||||
{:else}
|
{:else}
|
||||||
|
|
Loading…
Reference in a new issue