anki/ts/editable
Matthias Metelka 6d8fb35fab
Make field description a placeholder inside EditingArea (#1912)
* Move field description into EditingArea as placeholder

* Prevent insertion of breaks into empty fields

to allow :empty CSS selector to also work on fields other than the first one.

* Remove redundant setContext from EditingArea

* Fix import order

* Revert "Prevent insertion of breaks into empty fields"

This reverts commit 1615fd5cf441b1047dae6a34265acb9c5cae50b2.

* Use class:empty instead of :empty CSS pseudo-class

* Restrict description to single line, ellipse overflow

* Make description in field dialog a bit clearer
2022-06-17 11:02:30 +10:00
..
BUILD.bazel Use same config for editor and reviewer Mathjax (#1865) 2022-05-13 13:23:35 +10:00
content-editable.ts Allow using keyup with registerShortcut (#1755) 2022-03-29 09:28:44 +10:00
ContentEditable.svelte Make field description a placeholder inside EditingArea (#1912) 2022-06-17 11:02:30 +10:00
decorated.ts Fix plain text (#1689) 2022-02-25 11:14:26 +10:00
editable-base.scss Fix custom CSS not being applied to scrollbars in night mode (#1525) 2021-12-05 08:20:42 +10:00
frame-element.ts Fix Mathjax sometimes being deleted even though it's not selected (#1696) 2022-02-27 17:58:01 +10:00
frame-handle.ts Fix cursor sometimes not being moved into mathjax editor (#1737) 2022-03-24 18:29:30 +10:00
icons.ts update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
index.ts Change how resizable images work (#1859) 2022-05-13 12:57:07 +10:00
mathjax-element.ts Transform <br> in Mathjax to newlines (#1866) 2022-05-16 14:42:10 +10:00
Mathjax.svelte Instead of transforming to {\lt}, transform to &lt; (#1818) 2022-04-25 13:42:54 +10:00
mathjax.ts Switch editor to full MathJax package to fix broken autoloads 2022-05-21 14:01:38 +10:00
ResizableImage.svelte Change how resizable images work (#1859) 2022-05-13 12:57:07 +10:00
tsconfig.json Use same config for editor and reviewer Mathjax (#1865) 2022-05-13 13:23:35 +10:00