anki/ts/editor/rich-text-input
wisherhxl 5e1b67bcbc
Fix ibus first keystroke goes two (#1886)
Calling `moveCaretToEnd()` when `richText` is empty will cause the first keystroke of
ibus-based input methods with candidates to goes double. For example, if you
type "a" it becomes "aa". This problem exists in many linux distributions.
When `richText` is empty, there is no need to place the caret, just return
as a workaround.
2022-05-26 10:47:55 +10:00
..
CustomStyles.svelte Separate input components into their own directories / Remove WithShortcut (#1613) 2022-01-24 11:43:09 +10:00
index.ts Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +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 Fix ibus first keystroke goes two (#1886) 2022-05-26 10:47:55 +10:00
RichTextStyles.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
SetContext.svelte Separate input components into their own directories / Remove WithShortcut (#1613) 2022-01-24 11:43:09 +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 < (#1818) 2022-04-25 13:42:54 +10:00