kleinerpirat / anki-css-injector

Allows you to style field content in Anki's editor.
9 stars 2 forks source link

anki-editable `field` attribute is empty in Anki 2.1.55 #2

Closed Aquafina-water-bottle closed 1 year ago

Aquafina-water-bottle commented 1 year ago

It seems like the field attribute no longer works on the newest version of Anki. For example, using the Anki webview addon, I get the following information:

<anki-editable contenteditable="true" class="svelte-18uwveo isLin nightMode night_mode" field="" ord="7" editor="svelte" pointversion="55" notetype="JP Mining Note" mid="1637704315966" style="--editor-shrink-max-width:250px; --editor-shrink-max-height:125px;">TEXT<br></anki-editable>
kleinerpirat commented 1 year ago

Thanks for the report! I'll update my add-ons to 2.1.55 before Christmas.

Aquafina-water-bottle commented 1 year ago

Closed because it was fixed in the latest commit + uploaded to Ankiweb. Thanks for fixing it!

kleinerpirat commented 1 year ago

Sorry it took so long 😅