Build and maintain a single-file HTML document editor with contenteditable, toolbar formatting, table operations, paste cleanup, find/replace, history, export, draggable toolbar, Chinese/English i18n, CSS-variable export fallback, one-click theme applier, and AI style-prompt cards. Trigger when the user asks for an editable HTML report/proposal/document, wants to add editing/toolbar features to an HTML page, or reports bugs like formatting not applying, table buttons not working, editor-only DOM leaking into saved/exported HTML, paste styling chaos, lost images, find/replace no feedback, restore leaving an unsaved badge, language switching not working, exported HTML losing colors, theme not applying, or data panel not opening.
dev-programming