Prerequisites
Create a Custom Widget, select Inline / JavaScript, and keep view execution read-only. No target registry is needed: the form uses REFRESH in its own frame. Leave Inputs as{} to try the example without uploads. If uploads are needed, configure uploadFolderId with an existing folder the viewer may write to.
Source
Expected result
- Enter
Hello **customer**.in the message field. - Select Prepare preview. The Markdown reader shows the committed message with customer in bold.
- Edit the draft again. The prepared result stays unchanged until the next successful submit.
- Refresh the widget. The stable
replycontrol retains its draft.

