anki/ts/sveltelib
Henrik Giesel 97b28398ea
Fix some issues with new surround buttons (#1505)
* Add a store to indicate whether input trigger is active

Button state is then indicated by: caretIsInBold XOR boldTriggerActive

* Fix surrounding where normalization is tripped up by empty text nodes

* Add failing test for unsurrounding

* Fix failing test

* prohibitOverlapse does not need to be active, if aboveEnd is null

* Reinsert Italic and Underline button

* Refactor find-adjacent to use sum types

* Simplify return value of normalizeAdjacent
2021-11-24 10:33:14 +10:00
..
async.ts add missing copyright headers to *.ts 2021-04-13 18:57:08 +10:00
asyncReactive.ts Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
BUILD.bazel use extra rootDir in tsconfig instead of symlinks 2021-10-01 18:36:52 +10:00
context-property.ts Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
dynamicComponent.ts Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
export-runtime.ts update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
input-manager.ts Fix some issues with new surround buttons (#1505) 2021-11-24 10:33:14 +10:00
mirror-dom.ts Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
node-store.ts Set "no-non-null-assertion: off" by default (#1475) 2021-11-04 11:42:51 +10:00
preferences.ts Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
shortcut.ts Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
store-subscribe.ts Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
tsconfig.json update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00