MiniCodeEditor is a reusable JavaScript-based code editor component for OutSystems applications. It integrates CodeMirror to provide a lightweight and interactive coding experience directly inside an OutSystems screen.
The component supports syntax highlighting for multiple programming and markup languages, making it useful for applications that need to display, edit, validate, or manage source code and SQL queries.
The editor currently supports:
The component uses CodeMirror as the underlying JavaScript editor engine.
The OutSystems Block provides the UI and communicates with CodeMirror through JavaScript. The original HTML <textarea> is used as the source element, and CodeMirror transforms it into the interactive editor.
<textarea>