Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
peach-html5-editor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c70c22b
)
no scrollbars on @iframe (even when overflow-x)
author
Jason Woofenden
<jason@jasonwoof.com>
Tue, 15 Mar 2016 18:19:24 +0000
(14:19 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Tue, 15 Mar 2016 18:19:24 +0000
(14:19 -0400)
editor.coffee
patch
|
blob
|
history
diff --git
a/editor.coffee
b/editor.coffee
index
b3fb372
..
cda74ef
100644
(file)
--- a/
editor.coffee
+++ b/
editor.coffee
@@
-686,6
+686,7
@@
class PeachHTML5Editor
if @options.css_file
# TODO test this
@idoc.head.appendChild domify @idoc, link: rel: 'stylesheet', type: 'text/css', href: @options.css_file
+ @idoc.head.appendChild domify @idoc, style: children: [domify @idoc, text: "body { overflow: hidden; }"]
@load_html @in_el.value
@inited = true
if @options.on_init?