#229 TC: Switch FCKeditor with TEXTAREA

Version 2.x
closed-fixed
Editor (144)
5
2006-12-14
2006-03-22
No

This testcase demonstrates how it is possible to switch
back and forth between a regular textarea and an
instance of the FCKeditor.

Discussion

  • Finn Hakansson

    Finn Hakansson - 2006-03-22

    New testcase -- should go in FCKeditor/_testcases

     
  • Calophi

    Calophi - 2006-04-11

    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...

     
  • Finn Hakansson

    Finn Hakansson - 2006-04-11

    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.

     
  • Frederico Caldeira Knabben

    • summary: New testcase --> TC: Switch FCKeditor with TEXTAREA
     
  • Nobody/Anonymous

    Logged In: NO

    ,g hgkjhg kjhgkjhg

     
  • Alfonso Martinez

    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.

     
  • Alfonso Martinez

    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.

     
  • Alfonso Martinez

    • assigned_to: nobody --> alfonsoml
    • status: open --> closed-fixed
     
  • Nobody/Anonymous

    Logged In: NO

    fh

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks