anki/ts/editor
Henrik Giesel 6db7897601 Improve focus handling
* Ported from #1046:

* disabling buttons will clear button highlight
* enabling button will set button highlight
* move caret to end executed before enabling buttons (so button highlight will be for actual position of caret)
* move caret to end will also be executed if previousActiveElement is null, which will only be the case before the first onBlur was executed:
  * so that caret will be moved to end on opening editor
2021-03-08 14:20:06 +01:00
..
BUILD.bazel Turn off eslint check for now 2021-01-31 20:55:36 +01:00
changeTimer.ts add missing license headers 2021-02-09 13:38:04 +10:00
editable.scss Fix scrollbar issue in anki-editable component in two ways 2021-02-23 15:52:20 +01:00
editor.scss Give toolbar items a bottom margin to separate the rows when they wrap 2021-02-08 21:26:37 +01:00
focusHandlers.ts Improve focus handling 2021-03-08 14:20:06 +01:00
helpers.ts add missing license headers 2021-02-09 13:38:04 +10:00
htmlFilter.ts add missing license headers 2021-02-09 13:38:04 +10:00
index.ts Remove logic for pulling editor field in view 2021-02-23 12:55:04 +01:00
inputHandlers.ts add missing license headers 2021-02-09 13:38:04 +10:00
lib.ts add missing license headers 2021-02-09 13:38:04 +10:00
noteId.ts add missing license headers 2021-02-09 13:38:04 +10:00
toolbar.ts Improve focus handling 2021-03-08 14:20:06 +01:00
wrap.ts add missing license headers 2021-02-09 13:38:04 +10:00