mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52: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>
|
||||
<MathjaxHandleEditor
|
||||
initialValue={activeImage.parentElement?.dataset.mathjax ?? ""}
|
||||
on:update={onUpdate}
|
||||
on:update={(event) => {
|
||||
onUpdate(event);
|
||||
setTimeout(dropdownObject.update);
|
||||
}}
|
||||
/>
|
||||
</DropdownMenu>
|
||||
{:else}
|
||||
|
|
Loading…
Reference in a new issue