Light Code Editor Prompt Pack
1. Developer code workspace
Build a SaaS developer workspace using @editora/light-code-editor.
Include syntax highlighting, line numbers, search/replace, and read-only preview toggle.
Use @editora/ui-react for layout, tabs, buttons, and dialog.
Return runnable TSX with full setup and cleanup.
2. Source review flow
Create a source-review surface with inline search and diff-friendly formatting.
Add actions for validate, save draft, and open policy modal.
Use @editora/toast for feedback.
3. Stability and perf review
Audit this light-code-editor integration for memory leaks and responsiveness.
Check mount/unmount cleanup, listener lifecycle, and high-frequency change handling.
Provide concrete fixes.