Plain Text / Code Editor
Last updated
Last updated
type
aceeditor
string
lang
string
code language options: html, javascript, markdown, plain_text, css, json
model
string, object or array
the field or JSON node of the model used for the source
getAsJSON
optional
boolean
if true, the model is stringified for editing. This allows you to edit the JSON directly in the MODEL (vs it being stored as a string (all other languages)
height
optional
string
default of 700px else element height can be specified 300px
, 70%
are valid values.
theme
optional
string
The theme used in the editor