anki/ts/domlib
Henrik Giesel 9ca13ca3bc
Refactor how toolbar buttons get to surround within editor fields (#1931)
* Export surrounder directly from RichTextInput

* Change wording in editor/surround

* Remove empty line

* Change wording

* Fix interfaces

* Add field description directly in NoteEditor

* Strip description logic from ContentEditable

* Make RichTextInput position: relative

* Make attachToShadow an async function

* Apply field styling to field description

* Show FieldDescription only if content empty

* Remove descriptionStore and descriptionKey

* Revert "Make attachToShadow an async function"

This reverts commit b62705eadf7335c7ee0c6c8797047e1f1ccdbf44.

SvelteActionReturnType does not accept Promise<void>

* Fix mess after merge commit

* Require registering surround formats
2022-08-15 13:34:16 +10:00
..
location Move all buttons to our custom inline surrounding (#1682) 2022-02-22 22:17:22 +10:00
surround Refactor how toolbar buttons get to surround within editor fields (#1931) 2022-08-15 13:34:16 +10:00
BUILD.bazel Reverse-engineer surrounding with execCommand (#1377) 2021-11-18 19:18:39 +10:00
content-editable.ts Plaintext import/export (#1850) 2022-06-01 20:26:16 +10:00
find-above.ts Move all buttons to our custom inline surrounding (#1682) 2022-02-22 22:17:22 +10:00
index.ts Plaintext import/export (#1850) 2022-06-01 20:26:16 +10:00
move-nodes.ts Fix some Mathjax issues (#1547) 2022-01-08 11:46:01 +10:00
place-caret.ts Fix some Mathjax issues (#1547) 2022-01-08 11:46:01 +10:00
tsconfig.json Move all buttons to our custom inline surrounding (#1682) 2022-02-22 22:17:22 +10:00