Hi All,
I am currently working on a CMS project. I just run into a trouble and did lots of google search but could not find any valuable information.
Here is the problem.
I have a wrapper page in which all the scripts and functions are loaded(like jquery, CKEditor etc). In this wrapper page, i have an iframe. And I want to replace a div element with CKEditor which resides in the document loaded into the iframe from within the wrapper page.
I tried it with CKEditor 3 and 3.01, same following error occurs in both versions and same with FF 3.5.4, IE 8.0.6001.18702, Chrome 4.0.223.16.
Any comment, guidance, idea, solution would be greatly appreciated.
Thanks,
This is the error message pasted from Firebug:
-------------------------------------------------------------------------------------------
p is null
http://somedomain.com/ckeditor/ckeditor.js
Line 99
anonymous("wysiwyg")ckeditor.js (line 99)
anonymous()ckeditor.js (line 98)
anonymous(Object _=Object elementMode=1 element=Object, Object name=p, function(), function())ckeditor.js (line 6)
anonymous("uiReady", Object name=i, Object _=Object elementMode=1 element=Object)ckeditor.js (line 6)
anonymous("uiReady", Object name=c)ckeditor.js (line 7)
anonymous("uiReady", Object name=e, Object _=Object elementMode=1 element=Object)ckeditor.js (line 6)
anonymous("uiReady", Object name=c)ckeditor.js (line 7)
anonymous(Object _=Object elementMode=1 element=Object, Object name=m)ckeditor.js (line 109)
anonymous()ckeditor.js (line 22)
anonymous([], [])ckeditor.js (line 20)
anonymous(true)ckeditor.js (line 19)
anonymous([], function(), Object basePath=themes/ fileName=theme registered=Object, Object name=o)ckeditor.js (line 19)
anonymous(["default" 0=default], function(), Object name=l)ckeditor.js (line 20)
anonymous(Object _=Object elementMode=1 element=Object)ckeditor.js (line 22)
anonymous()ckeditor.js (line 22)
anonymous()ckeditor.js (line 20)
anonymous("kama", Object css=[1] _pending=[1] _isLoaded=1, function())ckeditor.js (line 21)
anonymous(Object _=Object elementMode=1 element=Object, "editor", function())ckeditor.js (line 21)
anonymous(Object _=Object elementMode=1 element=Object)ckeditor.js (line 22)
anonymous()ckeditor.js (line 22)
anonymous(true)ckeditor.js (line 19)
anonymous([], function(), Object timestamp=99GE version=3.0.1 revision=4391 _=Object, Object name=o)ckeditor.js (line 19)
anonymous(Object about=Object basicstyles=Object blockquote=Object)ckeditor.js (line 22)
anonymous(Object panel=Object listblock=Object dialogui=Object)ckeditor.js (line 20)
anonymous([], [])ckeditor.js (line 20)
anonymous(true)ckeditor.js (line 19)
anonymous([], function(), Object basePath=plugins/ fileName=plugin registered=Object, Object name=o)ckeditor.js (line 19)
anonymous(["panel", "listblock", "dialogui" 0=panel 1=listblock 2=dialogui], function(), Object basePath=plugins/ fileName=plugin registered=Object)ckeditor.js (line 20)
anonymous(["panel", "listblock", "dialogui" 0=panel 1=listblock 2=dialogui])ckeditor.js (line 20)
anonymous(Object styles=Object domiterator=Object panelbutton=Object)ckeditor.js (line 20)
anonymous([], [])ckeditor.js (line 20)
anonymous(true)ckeditor.js (line 19)
anonymous([], function(), Object basePath=plugins/ fileName=plugin registered=Object, Object name=o)ckeditor.js (line 19)
anonymous(["styles", "domiterator", "panelbutton", 25 more... 0=styles 1=domiterator 2=panelbutton 3=floatpanel], function(), Object basePath=plugins/ fileName=plugin registered=Object)ckeditor.js (line 20)
anonymous(["styles", "domiterator", "panelbutton", 25 more... 0=styles 1=domiterator 2=panelbutton 3=floatpanel])ckeditor.js (line 20)
anonymous(Object about=Object basicstyles=Object blockquote=Object)ckeditor.js (line 20)
anonymous([], [])ckeditor.js (line 20)
anonymous(true)ckeditor.js (line 19)
anonymous([], function(), Object basePath=plugins/ fileName=plugin registered=Object, Object name=o)ckeditor.js (line 19)
anonymous(["about", "basicstyles", "blockquote", 47 more... 0=about 1=basicstyles 2=blockquote 3=button], function(), Object basePath=plugins/ fileName=plugin registered=Object)ckeditor.js (line 20)
anonymous(["about", "basicstyles", "blockquote", 47 more... 0=about 1=basicstyles 2=blockquote 3=button])ckeditor.js (line 20)
anonymous(["about", "basicstyles", "blockquote", 47 more... 0=about 1=basicstyles 2=blockquote 3=button], function(), Object name=n)ckeditor.js (line 20)
anonymous(Object _=Object elementMode=1 element=Object)ckeditor.js (line 21)
anonymous("en", Object dir=ltr editorTitle=Rich text editor, %1)ckeditor.js (line 21)
anonymous()ckeditor.js (line 19)
anonymous(true)ckeditor.js (line 19)
anonymous("http://paragon.nav/tiilib/3rd-party/ckeditor/lang/en.js?t=99GE", true)ckeditor.js (line 19)
anonymous("http://paragon.nav/tiilib/3rd-party/ckeditor/lang/en.js?t=99GE", true)ckeditor.js (line 19)
anonymous()ckeditor.js (line 19)
[Break on this error] m=false;};if(n.mode)o();else n.on('mode'...ribute('lang'),r=m.getFrameDocument();\r\nckeditor.js (line 99)
-------------------------------------------------------------------------------------------
Fri, 11/06/2009 - 00:32
#1