editor: 2 spaces indent; add editor without syntax checking for containter.props
This commit is contained in:
parent
7dcf4afe52
commit
80c0f40106
4 changed files with 16 additions and 10 deletions
|
|
@ -22,7 +22,7 @@ class Clone extends Container() {
|
|||
|
||||
class_specific: {
|
||||
widgetId: {type: 'string', value: '', help: '`id` of the widget to clone'},
|
||||
props: {type: 'object', value: {}, help: 'Cloned widget\'s properties to override'},
|
||||
props: {type: 'object', value: {}, editor: 'javascript', syntaxChecker: false, help: 'Cloned widget\'s properties to override'},
|
||||
},
|
||||
value: null,
|
||||
osc: null
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class Fragment extends Container() {
|
|||
|
||||
class_specific: {
|
||||
file: {type: 'string', value: '', help: 'Fragment file path (relative to the session or theme file location by default, falling back to absolute path)'},
|
||||
props: {type: 'object', value: {}, help: 'Fragment widget\'s properties to override'},
|
||||
props: {type: 'object', value: {}, editor: 'javascript', syntaxChecker: false, help: 'Fragment widget\'s properties to override'},
|
||||
},
|
||||
value: null,
|
||||
osc: null
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ class Matrix extends Panel {
|
|||
class_specific: {
|
||||
widgetType: {type: 'string', value: 'button', help: 'Defines the type of the widgets in the matrix'},
|
||||
quantity: {type: 'number', value: 4, help: 'Defines the number of widgets in the matrix'},
|
||||
props: {type: 'object', value: {}, help: [
|
||||
props: {type: 'object', value: {}, editor: 'javascript', syntaxChecker: false, help: [
|
||||
'Defines a set of property to override the widgets\' defaults.',
|
||||
'JS{} and #{} blocks in this field are resolved with an extra variable representing each widget\'s index: `$` (e.g. `#{$}`)',
|
||||
'Advanced syntax blocks (@{}, OSC{}, JS{}, VAR{} and #{}) are resolved at the matrix\' scope (ie @{this.variables} returns the matrix\' variables property)',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue