Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Commit 3927d2d

Browse files
committed
解决全屏下不出现滚动条
1 parent ec6e2bd commit 3927d2d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_src/core/Editor.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,8 @@
441441
width: "100%",
442442
height: "100%",
443443
frameborder: "0",
444-
scrolling : 'no',
444+
//先注释掉了,加的原因忘记了,但开启会直接导致全屏模式下内容多时不会出现滚动条
445+
// scrolling :'no',
445446
src: 'javascript:void(function(){document.open();' + (options.customDomain && document.domain != location.hostname ? 'document.domain="' + document.domain + '";' : '') +
446447
'document.write("' + html + '");document.close();}())'
447448
}));

0 commit comments

Comments
 (0)