Bläddra i källkod

Merge branch 'fix/documenteditor_loadPage' into 'develop'

正文编辑器loadpage运行位置调整

See merge request o2oa/o2oa!627
胡起 5 år sedan
förälder
incheckning
93addf4d42
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      o2web/source/x_component_process_Xform/Documenteditor.js

+ 3 - 3
o2web/source/x_component_process_Xform/Documenteditor.js

@@ -107,8 +107,8 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor =  new Cla
                     var attNode = pageContentNode.getElement(".doc_layout_attachment_content");
                     if (attNode) attNode.empty();
                 }
-                this.fireEvent("loadPage");
                 if (callback) callback(control);
+                this.fireEvent("loadPage");
             }.bind(this));
         }.bind(this));
     },
@@ -1404,7 +1404,7 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor =  new Cla
             // format_tags: '标题一;标题二;标题三;标题四;正文', // entries is displayed in "Paragraph format"
             format_tags: '标题一;标题二;正文(标题三,四)', // entries is displayed in "Paragraph format"
             'format_标题一': {
-                name: '标题一',
+                name: '标题一(三号黑体)',
                 element: 'div',
                 styles: {
                     'font-family': '黑体',
@@ -1412,7 +1412,7 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor =  new Cla
                 }
             },
             'format_标题二': {
-                name: '标题二',
+                name: '标题二(三号楷体)',
                 element: 'div',
                 styles: {
                     'font-family': '楷体',