anki/ts/editor/rich-text-input
Henrik Giesel 0c81bbce04
Fix field not restored if active (#1639)
* Fix field not being restored after Undo, if field also has focus

* Execute moveCaretToEnd after undoing a change

- Otherwise the caret might be placed in seemingly random positions

* Fix wording of comments

* Remove autofocus functionality of EditingArea

- instead await a tick in focusField
- We used the autofocus prop for the initial focus setting when opening the
  editor. However it seems that awaiting tick in focusField also does the trick.
2022-02-05 15:58:31 +10:00
..
CustomStyles.svelte
index.ts Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
RichTextInput.svelte Fix field not restored if active (#1639) 2022-02-05 15:58:31 +10:00
RichTextStyles.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
SetContext.svelte
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