CodeEdit Widget

CodeEdit Widget

Description

The CodeEditWidget allows for the display and editing of JSON data with built-in validation.

Screenshot 2025-05-06 at 15.19.29.png

Example

<raw type="CodeEditWidget" action="codeEditAction"> <content variable="rawContent" /> </raw>
json rawContent; void init() { rawContent = /%{ "data": { "nestedData": "We have data!" } }%/; } DSL_VIEWS codeEditAction(json codeResponse) { rawContent = codeResponse; return null; }