Overview
In src/components/code/AdvancedCodeEditor.tsx the large inline options={{...}} object (lines 285-305) is recreated on every code/fontSize change, forcing Monaco to re-apply configuration on each keystroke. Memoize the options and separate editor-affecting state from content state.
Overview
In src/components/code/AdvancedCodeEditor.tsx the large inline options={{...}} object (lines 285-305) is recreated on every code/fontSize change, forcing Monaco to re-apply configuration on each keystroke. Memoize the options and separate editor-affecting state from content state.