anki/ts/editor/rich-text-input
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
..
CustomStyles.svelte Separate input components into their own directories / Remove WithShortcut (#1613) 2022-01-24 11:43:09 +10:00
index.ts Refactor how toolbar buttons get to surround within editor fields (#1931) 2022-08-15 13:34:16 +10:00
normalizing-node-store.ts Fix infinite update loop in editor with invalid input HTML (#1761) 2022-03-31 11:17:13 +10:00
rich-text-resolve.ts Fix infinite update loop in editor with invalid input HTML (#1761) 2022-03-31 11:17:13 +10:00
RichTextInput.svelte Refactor how toolbar buttons get to surround within editor fields (#1931) 2022-08-15 13:34:16 +10:00
RichTextStyles.svelte Fix field description (#1923) 2022-06-22 09:53:10 +10:00
StyleLink.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
StyleTag.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
transform.ts Instead of transforming to {\lt}, transform to &lt; (#1818) 2022-04-25 13:42:54 +10:00