提交 b58909d3 编写于 作者: NoSubject's avatar NoSubject

Merge branch 'wrdp' into 'develop'

Wrdp

See merge request o2oa/o2oa!4199
......@@ -193,18 +193,21 @@ MWF.xApplication.process.FormDesigner.Property = MWF.FCProperty = new Class({
o2.load("JSBeautifier_html", function(){
htmlNode.set("text", html_beautify(copy.outerHTML, {"indent_size":1}));
}.bind(this));
o2.require("o2.widget.ace", function(){
MWF.widget.ace.load(function(){
COMMON.AjaxModule.loadDom("../o2_lib/ace/src-min-noconflict/ext-static_highlight.js", function(){
var highlight = ace.require("ace/ext/static_highlight");
highlight(htmlNode, {mode: "ace/mode/html", theme: "ace/theme/eclipse", "fontSize": 16});
o2.require("o2.widget.ace", function(){
MWF.widget.ace.load(function(){
o2.load("../o2_lib/ace/src-min-noconflict/ext-static_highlight.js", function(){
var highlight = ace.require("ace/ext/static_highlight");
highlight(htmlNode, {mode: "ace/mode/html", theme: "ace/theme/eclipse", "fontSize": 16});
}.bind(this));
}.bind(this));
}.bind(this));
copy.destroy();
}.bind(this));
copy.destroy();
}.bind(this)
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册