Anki/ts/editor/mathjax-overlay
Abdo 58b2475f42
Preserve HTML formatting inside clozes (#3038)
* Preserve HTML formatting inside clozes

* Place caret after/inside cloze

To match the old behavior

* Fix clozing in mathjax

* Formatting

* Avoid .extractContents() and handle partially covered tags

* Exclude range end if endOffset == 0

* Remove unnecessary branches

* Use nodeIsElement

* Let extractContents() handle partially selected nodes
2024-03-18 13:44:19 +00:00
..
icons.ts Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
index.ts Use WithFloating for MathjaxOverlay (#2011) 2022-09-05 17:20:00 +10:00
MathjaxButtons.svelte Preserve HTML formatting inside clozes (#3038) 2024-03-18 13:44:19 +00:00
MathjaxEditor.svelte Fix two issues with MathJax editor (#2550) 2023-06-19 13:55:40 +10:00
MathjaxOverlay.svelte Preserve HTML formatting inside clozes (#3038) 2024-03-18 13:44:19 +00:00