You are not logged in.
Pages: 1
Hi, and, before asking question, thanks for Xinhan editor. It's really a good project.
I have a problem using Xinha Editor in a JQuery dialog, close by default.
To do short :
If I open the dialog without doing anything to the editor, it open like read/only. I found a trick and, if I do
$("#editMessageDiv").dialog("open");
xinha_editors.message_text.initSize();
xinha_editors.message_text.iframeLoadDone = false;
xinha_editors.message_text.initIframe();
that works fine.... the first time.
If I close the dialog and reopen, the editor opens well except that it' s impossible to write in.
I write a test page there :
http://pileouface.org.free.fr/test/test.html
I have the problem under FF3 and IE6.
The version of Xinha is the last build, the I have the same problem with the last stable.
Really tanks for your help, I don't have more ideas,
Loack
Last edited by loack31 (2009-01-22 09:54:04)
Offline
After a part of the day searching an answer, I think having found a solution :
$("#editMessageDiv").dialog("open");
xinha_editors.message_text.deactivateEditor();
xinha_editors.message_text.initSize();
xinha_editors.message_text.iframeLoadDone = false;
xinha_editors.message_text.initIframe();
Seem's to work.
I've add a 3rd part on my test page.
Offline
I've been looking for this everywhere!
Thank you
German Kalinec
Offline
Pages: 1