From 8c9278880f70515f3e590adc522990c93302151e Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Tue, 15 Mar 2016 14:19:24 -0400 Subject: [PATCH] no scrollbars on @iframe (even when overflow-x) --- editor.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/editor.coffee b/editor.coffee index b3fb372..cda74ef 100644 --- 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? -- 1.7.10.4