X-Git-Url: https://jasonwoof.com/gitweb/?p=peach-html5-editor.git;a=blobdiff_plain;f=editor.coffee;h=cda74efb5f73ca725593f37a12f377a018b3f089;hp=b3fb3721a022e8fe2f356ff752ba1a284c349981;hb=8c9278880f70515f3e590adc522990c93302151e;hpb=c70c22bfd17cbe6097e5499e62631ea23a04f36d 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?