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 state ui group and was last modified in core v14.0.3.

code editor v14.0.3

Opens a code editor to define code in various languages (CSS, HTML, JavaScript, JSON, etc.). The code is stored in a document on disk.

Out pins 1
  • state state

    Returns the code as state

code
editor

A typical wiring for code editor: the state out pin feeds get component child.

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

Version history

Introduced in v14.0.3.


Back to state ui Return to the main group to view all sub-groups Back to state elements Return to the group to view all blocks within this group