Hello everyone,
i am in need for some help cause i have been struggling with this for hours.
i have a page where i show different div elements.
The div elements are already loaded but have style='display:none' except from the first where it has style='display:block'
as you can see from the attachment the editor loads in div 1 when the page loads (using jquery)
so far so good. If i navigate with the href buttons (that you will see inside the HTML attachment)
and then go back to div element 1 (the one that the page loaded with style=display:block) the
editor is not editable and the contents are gone.
line 38: $("#" + divShow).effect("slide",options,450,function(){})
if you change the effect from 'slide' to 'fade' then data is not lost inside the editor when you navigate from 1 div to another and then return to div 1, but firebug reports an error when i click inside the editor.
the error is:
uncaught exception: [Exception... "Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIDOMNSHTMLDocument.designMode]" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: file:///C:/Users/USER/Desktop/divs/ckeditor/ckeditor.js :: C :: line 88" data: no]
Can anyone help me solve this or get a working workaround?
In order for the attachment to work:
1. Extract the contents of the 'divs.rar' and you will see a folder named 'divs';
2. Inside that folder you need the ckeditor in a folder named ckeditor.
Thank you very much!
Konstantinos
i am in need for some help cause i have been struggling with this for hours.
i have a page where i show different div elements.
The div elements are already loaded but have style='display:none' except from the first where it has style='display:block'
as you can see from the attachment the editor loads in div 1 when the page loads (using jquery)
so far so good. If i navigate with the href buttons (that you will see inside the HTML attachment)
and then go back to div element 1 (the one that the page loaded with style=display:block) the
editor is not editable and the contents are gone.
line 38: $("#" + divShow).effect("slide",options,450,function(){})
if you change the effect from 'slide' to 'fade' then data is not lost inside the editor when you navigate from 1 div to another and then return to div 1, but firebug reports an error when i click inside the editor.
the error is:
uncaught exception: [Exception... "Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIDOMNSHTMLDocument.designMode]" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: file:///C:/Users/USER/Desktop/divs/ckeditor/ckeditor.js :: C :: line 88" data: no]
Can anyone help me solve this or get a working workaround?
In order for the attachment to work:
1. Extract the contents of the 'divs.rar' and you will see a folder named 'divs';
2. Inside that folder you need the ckeditor in a folder named ckeditor.
Thank you very much!
Konstantinos
Re: slide effect and editor
Re: slide effect and editor
I had found that article with the patch before i posted the question
and even tried with the example thats on http://dev.fckeditor.net/ticket/5782
(FF_not_initialized_error.zip) and still did not work.
any ideas what am i be doing wrong?
Can someone post an example that works so i can try it?
Thanks again
Re: slide effect and editor
if i destroy the editor and then create it again with a setTimeout of 500 it opens without any errors
and i can edit the contents as well.
Can anyone explain ?
Thanks a lot for your time
Konstantinos
Re: slide effect and editor
Can anyone please explain?
Also is it a jquery bug that this
http://dev.fckeditor.net/ticket/5782 patch
does not work?