Skip to content

Commit 3f231ea

Browse files
author
git
committed
修复:编辑器全屏编辑特定情况下异常问题
1 parent fa27657 commit 3f231ea

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

_examples/completeDemo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ <h2>
8585

8686
</script>
8787
</div>
88-
<div id="btns" style="margin-top:20px;">
88+
<div id="btns" style="margin-top:20px;height:2000px;">
8989
<div>
9090

9191
<button onclick="alert(UE.getEditor('editor').getAllHtml())">获得整个html的内容</button>

_src/adapter/editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@
608608
if (this._fullscreen) {
609609
var vpRect = uiUtils.getViewportRect();
610610
this.getDom().style.cssText =
611-
"border:0;position:absolute;left:0;top:var(--ueditor-top-offset," +
611+
"border:0;position:fixed;left:0;top:var(--ueditor-top-offset," +
612612
(this.editor.options.topOffset || 0) +
613613
"px);width:" +
614614
vpRect.width +

0 commit comments

Comments
 (0)