- Convert parent component to use static rendering with programmatic DOM manipulation - Remove all reactive state that could trigger re-renders during editing - Delay content sync to avoid interference with typing (2s auto-save) - Update all block operations to use manual DOM updates instead of Lit re-renders - Fix specific issue where typing + arrow keys caused focus loss - Add comprehensive focus management documentation
199 B
199 B
- We don't use lit template logic, but use static`` here to handle dom operations ourselves
- We try to have separated concerns in different classes
- We try to have clean concise and managable code