ActiveManage Docs ← Back to activemanage.co.uk

Code Editor Field

The Code Editor field renders a syntax-highlighted code editor — the same Ace-style editor used throughout the rest of the platform's IDE. Use it for fields that hold code, configuration files, structured templates, or SQL.

Conditional options

  • Editor Theme (Required) — visual theme for the editor (light, dark, high-contrast, etc.).
  • Code Language (Required) — pick the language so the editor highlights syntax correctly. Supported languages include PHP, JavaScript, HTML, CSS, SQL, JSON, YAML, Markdown, XML, and more.

How the value is stored

Plain text — the editor doesn't add any wrapping or encoding. Whatever you type ends up in the database column unchanged. Length limits depend on the underlying column type; for long code blocks make sure the column is at least MEDIUMTEXT.

Tip: Code Editor fields are perfect for letting non-developer admins configure things like email-template HTML or custom report SQL with proper syntax help and bracket matching, without giving them the whole IDE.