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

Commit

Permalink
解决全屏下不出现滚动条
Browse files Browse the repository at this point in the history
  • Loading branch information
campaign committed Dec 25, 2013
1 parent ec6e2bd commit 3927d2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _src/core/Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,8 @@
width: "100%",
height: "100%",
frameborder: "0",
scrolling : 'no',
//先注释掉了,加的原因忘记了,但开启会直接导致全屏模式下内容多时不会出现滚动条
// scrolling :'no',
src: 'javascript:void(function(){document.open();' + (options.customDomain && document.domain != location.hostname ? 'document.domain="' + document.domain + '";' : '') +
'document.write("' + html + '");document.close();}())'
}));
Expand Down

0 comments on commit 3927d2d

Please sign in to comment.