bugfix
This commit is contained in:
parent
7901d7018d
commit
c292767a0d
@ -54,7 +54,10 @@ bricks.MdWidget = class extends bricks.JsWidget {
|
|||||||
return this.name || 'mdtext';
|
return this.name || 'mdtext';
|
||||||
}
|
}
|
||||||
getValue(){
|
getValue(){
|
||||||
return {this.getname():this.md_content};
|
var name = this.getname();
|
||||||
|
var d = {}
|
||||||
|
d[name] = this.md_content
|
||||||
|
return d;
|
||||||
}
|
}
|
||||||
setValue(v){
|
setValue(v){
|
||||||
this.md_content = v;
|
this.md_content = v;
|
||||||
|
@ -58,6 +58,10 @@ bricks.JsWidget = class {
|
|||||||
"y",
|
"y",
|
||||||
"height",
|
"height",
|
||||||
"margin",
|
"margin",
|
||||||
|
"marginLeft",
|
||||||
|
"marginRight",
|
||||||
|
"marginTop",
|
||||||
|
"marginBottom",
|
||||||
"padding",
|
"padding",
|
||||||
"align",
|
"align",
|
||||||
"textAlign",
|
"textAlign",
|
||||||
@ -68,6 +72,10 @@ bricks.JsWidget = class {
|
|||||||
];
|
];
|
||||||
var mapping_keys = {
|
var mapping_keys = {
|
||||||
"flex-shrink":"flexShrink",
|
"flex-shrink":"flexShrink",
|
||||||
|
"margin-left":"marginLeft",
|
||||||
|
"margin-right":"marginRight",
|
||||||
|
"margin-top":"marginTop",
|
||||||
|
"margin-bottom":"marginBottom",
|
||||||
"z-index":"zIndex",
|
"z-index":"zIndex",
|
||||||
"overflow-x":"overflowX",
|
"overflow-x":"overflowX",
|
||||||
"opveflow-y":"overflowY",
|
"opveflow-y":"overflowY",
|
||||||
|
Loading…
Reference in New Issue
Block a user