mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
* Refactor plain/rich text input toggling code; fix focus loss Fix: - Issue where field loses focus when plain/rich text input is closed Refactoring: - Call refocus() inside the reactive statement in Plain/RichTextInput.svelte to eliminate the need for polling with requestAnimationFrame - Introduce 'Flag' class - Move 'on:toggle' handlers from inline to functions defined in the <script> section for better readability * Improve code clarity based on feedback from code review - Rename method and add comment to it - Add 'private' access modifier to property |
||
|---|---|---|
| .. | ||
| CustomStyles.svelte | ||
| index.ts | ||
| normalizing-node-store.ts | ||
| rich-text-resolve.ts | ||
| RichTextInput.svelte | ||
| RichTextStyles.svelte | ||
| StyleLink.svelte | ||
| StyleTag.svelte | ||
| transform.ts | ||