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