anki/rslib/src/notetype
Matthias Metelka d110c4916c
Introduce setting to collapse field by default (#1990)
* Introduce setting to collapse field by default

* Fix schema order

* Change wording from adjective to imperative

sounds a bit less clunky

* Update rslib/src/notetype/schema11.rs (dae)

* Keep settings in single column

* Add back Toggle Visual Editor string

* Add RichTextBadge component and show it conditionally

* Reverse input order depending on default setting

* Make PlainTextInput border-radius responsive to toggle states

* Prevent first Collapsible transition differently

* Focus inputs after Collapsible transition

The double tick calls are just a temporary solution until I find the exact moment an input is focusable again.

* Use requestAnimationFrame to await focusable state

Note: Svelte tick doesn't seem to work in this scenario.
2022-08-31 23:34:39 +10:00
..
cardgen.rs Plaintext import/export (#1850) 2022-06-01 20:26:16 +10:00
cloze_styling.css Plaintext import/export (#1850) 2022-06-01 20:26:16 +10:00
emptycards.rs use aux var when retrieving last deck for notetype 2021-04-29 19:15:27 +10:00
fields.rs Introduce setting to collapse field by default (#1990) 2022-08-31 23:34:39 +10:00
header.tex move latex header and styling into separate files 2020-05-12 21:13:33 +10:00
mod.rs Template err improvements (#1953) 2022-07-09 13:00:03 +10:00
notetypechange.rs Improve temporary table handling (#1976) 2022-07-22 17:51:26 +10:00
render.rs Fix {{CardFlags}} not working with flags 5-7 2022-08-08 10:56:07 +10:00
schema11.rs Introduce setting to collapse field by default (#1990) 2022-08-31 23:34:39 +10:00
schemachange.rs Improve temporary table handling (#1976) 2022-07-22 17:51:26 +10:00
stock.rs Expose backend_proto publicly for AnkiDroid, and rename to pb 2022-06-27 15:27:53 +10:00
styling.css Mathjax editor improvements (#1502) 2021-11-23 10:27:32 +10:00
templates.rs Expose backend_proto publicly for AnkiDroid, and rename to pb 2022-06-27 15:27:53 +10:00
undo.rs Add apkg import/export on backend (#1743) 2022-05-02 21:12:46 +10:00