Image upload widget
This commit is contained in:
@@ -133,14 +133,9 @@ export type Attributes = {
|
||||
disabled?: boolean,
|
||||
|
||||
/*
|
||||
* CSS height
|
||||
* CSS styles
|
||||
*/
|
||||
height?: string,
|
||||
|
||||
/*
|
||||
* CSS Flex grow
|
||||
*/
|
||||
flexGrow?: number,
|
||||
style?: string,
|
||||
|
||||
/**
|
||||
* Display variant for widgets/containers (e.g. number widget can act as slider/knob/dial)
|
||||
@@ -320,20 +315,6 @@ const ALL_ATTRIBUTES: AttributesSpecList = [
|
||||
defaultValue: "vertical",
|
||||
canShow: (di: IDragItem) => di.type === "container"
|
||||
},
|
||||
{
|
||||
name: "flexGrow",
|
||||
type: "number",
|
||||
location: "widget",
|
||||
defaultValue: 100,
|
||||
editable: true
|
||||
},
|
||||
{
|
||||
name: "height",
|
||||
type: "string",
|
||||
location: "widget",
|
||||
defaultValue: "auto",
|
||||
editable: true
|
||||
},
|
||||
{
|
||||
name: "classes",
|
||||
type: "string",
|
||||
@@ -341,6 +322,13 @@ const ALL_ATTRIBUTES: AttributesSpecList = [
|
||||
defaultValue: "",
|
||||
editable: true,
|
||||
},
|
||||
{
|
||||
name: "style",
|
||||
type: "string",
|
||||
location: "widget",
|
||||
defaultValue: "",
|
||||
editable: true
|
||||
},
|
||||
{
|
||||
name: "nodeDisabledState",
|
||||
type: "enum",
|
||||
|
||||
Reference in New Issue
Block a user