Blocks Deprecated
Deprecated: use the web blocks for new pages This block belongs to state pages and UI components. Existing pages keep running, but new pages should use the web blocks. See Web Pages and the migration guide.

code editor

This block is part of the Component UI group and was last modified in core v10.4.21.

Parent Requirements

This block requires specific parent elements: component_form, uicomponent_foreach_return, uicomponent_dynamic_content_update, uicomponent_branch, uicomponent_switch. Ensure this block is placed within the appropriate parent context.

code editor v10.4.21

Creates a code editor based on the ace module

In pins 3
  • Field fielddefinitions required

    Field to save the value in

  • Language value

    Which language should be used. Example: html, css, javascript

  • Tabsize number

    How many spaces should be used on tab

Out pins 1
  • uicomponent uicomponent

A typical wiring for code editor: combine feeds the fielddefinitions pin; the uicomponent out pin feeds build PDF.

Studio canvas example for the code editor block: typical wiring for code editor.

Version history

Introduced in v10.4.21.


Back to Component UI Return to the main group to view all sub-groups Back to form Return to the group to view all blocks within this group