New testcase -- should go in FCKeditor/_testcases
This testcase demonstrates how it is possible to switch
back and forth between a regular textarea and an
instance of the FCKeditor.
New testcase -- should go in FCKeditor/_testcases
Logged In: YES
user_id=1094830
Why do you have to use innerHTML to insert the text back in?
Why not InsertHtml()? I know that in my show/hide that I'm
trying to do, the InserHtml() function is broken after I
bring it back up, and that is a CRUCIAL feature I need in
this particular case...
Logged In: YES
user_id=1401534
Thanks for looking into this.
InsertHtml() doesn't do what I need as far as I can tell.
According to the comment in the code
(FCKeditor/editor/_source/internals/fck_2_gecko.js), it
inserts HTML at the current position of the cursor. Also, if
InsertHtml() is buggy as you have experienced, then it can't
be used in either case.
Logged In: NO
,g hgkjhg kjhgkjhg
Logged In: YES
user_id=1356422
Originator: NO
This patch, or a similar implementation, has been included in
FCKeditor and has been committed in the SVN. It will be available
in the next release.
For more information about the FCKeditor SVN system, please use
the following URL:
http://wiki.fckeditor.net/SVN
----
http://www.fckeditor.net
"Support Open Source Software"
PS.: This is a canned response.
Logged In: YES
user_id=1356422
Originator: NO
A new sample file has been added to show how to switch between a textarea and an instance of FCKeditor using the API.
Logged In: NO
fh
Log in to post a comment.