javierdotnet / gwt-ckeditor

Automatically exported from code.google.com/p/gwt-ckeditor
0 stars 0 forks source link

GWT Ckeditor “i.contentWindow is null” issue #49

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
i am using GWT ckeditor in my application, while switching over between two or 
more editor instance, i get the error "i.contentWindow is null". i refered more 
solutions but nothing works for me. Any solutions?

Original issue reported on code.google.com by karthic1...@gmail.com on 28 Mar 2013 at 7:42

GoogleCodeExporter commented 9 years ago
any solutions?

Original comment by karthic1...@gmail.com on 9 May 2013 at 7:37

GoogleCodeExporter commented 9 years ago
I have the same problem.
Tried both ways: using JSNI and playing with the config JavaScript object and 
working directly on gwt-ckeditor JS with no fixes.
After applying this patch: 
http://dev.ckeditor.com/attachment/ticket/8226/8226_6.patch
the error changed from "i.contentWindow is null" to "X is null".
Any hint would be highly appreciated.

Original comment by bogdan.p...@gebs.ro on 18 Jun 2013 at 7:40

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Solved.
I have attached the patched gwt-ckeditor jar (maven version).

If you wanna apply the patches yourself here are the steps:
I. Download gwt-ckeditor.jar and extract it

II. Apply patches no: 3 - 
http://dev.ckeditor.com/attachment/ticket/8226/8226_3.patch
                      4 - http://dev.ckeditor.com/attachment/ticket/8226/8226_4.patch
                      5 - http://dev.ckeditor.com/attachment/ticket/8226/8226_5.patch
                      6 - http://dev.ckeditor.com/attachment/ticket/8226/8226_6.patch
Hint: Ckeditor JS sources are located here: 
"\gwt-ckeditor-1.0\com\axeiya\gwtckeditor\public\ckeditor"

III. Use ckpackager 
tool(http://docs.cksource.com/CKEditor_3.x/Developers_Guide/CKPackager) to 
generate ckeditor.js and ckeditor_basic.js

IV. Generate gwt-ckeditor jar file, upload it on maven repository and update 
pom dependency...and you are done!

Cheers,
Bogdan.

Original comment by bogdan.p...@gebs.ro on 18 Jun 2013 at 2:45

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the reply Bogdan. The jar that you have attached here is that a jar 
with all the completed patches?

Original comment by karthic1...@gmail.com on 18 Jun 2013 at 2:54

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi there,

Yes it is. I've applied the patches on the mavenized version of 
gwt-ckeditor(gwt-ckeditor-1.0.jar) and called it gwt-ckeditor-1.0.1.jar
If you are not using maven then you should apply the patches on the standalone 
jar.

Cheers,
Bogdan.

Original comment by bogdan.p...@gebs.ro on 19 Jun 2013 at 3:53