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

Merge branch 'wrdp' into 'develop'

Wrdp

See merge request o2oa/o2oa!1828
......@@ -1344,7 +1344,17 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor = new Cla
if (this.allowEdit){
this.loadCkeditorFiletext(function(e){
e.editor.focus();
var text = this.data.filetext.replace(/\u3000*/g, "");
if (!text){
var range = e.editor.createRange();
range.moveToElementEditEnd(e.editor.editable());
range.select();
range.scrollIntoView();
}else{
e.editor.getSelection().scrollIntoView();
}
//e.editor.getSelection().scrollIntoView();
//this.getFiletextToolber();
//this.filetextToolbarNode.inject(this.layout_filetext.getOffsetParent());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册