forked from p96170835/amis
593 B
593 B
Diff-Editor
type
请设置成diff-editor
language
默认为javascript
当type
为diff-editor
的时候有用diffValue
设置左侧编辑器的值,支持${xxx}
获取变量disabled
配置 右侧编辑器 是否可编辑,左侧编辑器始终不可编辑- 更多配置请参考 FormItem
PS: 当用作纯展示时,可以通过value
配置项,设置右侧编辑器的值
{
"type": "diff-editor",
"name": "diff",
"diffValue": "hello world",
"label": "Diff-Editor"
}