anki/ts/lib
Henrik Giesel 3beea5e1e4
Split/Merge editor.py for its three use cases (#1581)
* Forbid inserting object and iframe tags via PlainTextInput

* Add optional browserMode parameter to Editor

* Create new ts modules for three editor instances

- note-creator for AddCards
- browser-editor for the editor in the Browser
- reviewer-editor for the EditCurrent

* Revert "Forbid inserting object and iframe tags via PlainTextInput"

This reverts commit ab90ae8194494d883a1863126496e2d8f332509e.

* Refactor browserMode to editorMode

* Move new editor variants inside /ts/editor directory

* Fix typo
2022-01-12 14:51:43 +10:00
..
i18n Minor changes to graphs (#1566) 2021-12-29 15:04:15 +10:00
bridgecommand.ts Implement register-package and export some packages 2021-08-30 14:41:40 +02:00
BUILD.bazel Reverse-engineer surrounding with execCommand (#1377) 2021-11-18 19:18:39 +10:00
cards.ts fix inverted SchedBuried and UserBuried in cards.ts 2021-12-20 12:57:35 +10:00
context-keys.ts Translate Editor entirely to Svelte (#1403) 2021-10-18 22:01:15 +10:00
cross-browser.ts Fix some Mathjax issues (#1547) 2022-01-08 11:46:01 +10:00
dom.ts Fix some Mathjax issues (#1547) 2022-01-08 11:46:01 +10:00
events.ts Mathjax editor improvements (#1502) 2021-11-23 10:27:32 +10:00
functional.ts Fix some Mathjax issues (#1547) 2022-01-08 11:46:01 +10:00
genfluent.py Refactor i18n (#1405) 2021-10-07 23:31:49 +10:00
globals.ts Split/Merge editor.py for its three use cases (#1581) 2022-01-12 14:51:43 +10:00
image-import.d.ts update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
keys.ts Fix some Mathjax issues (#1547) 2022-01-08 11:46:01 +10:00
nightmode.ts Live theme changes (#1497) 2021-11-25 07:17:41 +10:00
node.ts Reverse-engineer surrounding with execCommand (#1377) 2021-11-18 19:18:39 +10:00
platform.ts use different toolbar size on Mac 2021-06-05 11:28:36 +10:00
postrequest.ts Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
promise.ts Set "no-non-null-assertion: off" by default (#1475) 2021-11-04 11:42:51 +10:00
proto.ts Card info cleanup (#1446) 2021-10-23 11:00:43 +10:00
register-package.ts Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
runtime-require.ts avoid Object.fromEntries() and some instances of globalThis 2021-11-02 12:54:06 +10:00
shadow-dom.d.ts Reverse-engineer surrounding with execCommand (#1377) 2021-11-18 19:18:39 +10:00
shortcuts.ts Add back wrap function (#1551) 2021-12-13 14:00:35 +10:00
time.test.ts add missing copyright headers to *.ts 2021-04-13 18:57:08 +10:00
time.ts Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
tsconfig.json Reverse-engineer surrounding with execCommand (#1377) 2021-11-18 19:18:39 +10:00
typing.ts add missing copyright headers to *.ts 2021-04-13 18:57:08 +10:00
uuid.ts Mathjax editor improvements (#1502) 2021-11-23 10:27:32 +10:00
wrap.ts Fix some Mathjax issues (#1547) 2022-01-08 11:46:01 +10:00