#2312: ReplaceTextarea() broken on IE 6
----------------------+-----------------------------------------------------
  Reporter:  slusarz  |       Owner:                 
      Type:  Bug      |      Status:  new            
  Priority:  High     |   Milestone:                 
 Component:  General  |     Version:  FCKeditor 2.6.1
Resolution:           |    Keywords:  Pending        
----------------------+-----------------------------------------------------
Old description:

> From http://bugs.horde.org/ticket/6958 :
>
> {{{
> After playing around with this for about 2 hours, I have determined
> that this is a (critical) bug in fckeditor; more specifically,
> ReplaceTextarea().  I don't see what you are seeing, but instead I see
> the fckeditor load, then the window blinks for a second, and then it
> *looks* like it is completely loaded.  Just 2 problems: 1.) all text
> that was previous in the textarea is gone and 2.) clicking on
> heading/font, or clicking anywhere in the textarea, outputs JS
> warnings.  Strangely enough - if I put an alert() in the middle of the
> fckeditor code, the delay it takes for me to close the alert box
> appears to be enough to allow the loading process to proceed
> correctly.  I see the textarea text correctly populated into the
> fckeditor window and i get no javascript errors when I click on
> various stuff.  So my guess is that something is trying to be placed
> in a DOM element too quickly on IE6 before that element is ready.
> }}}
>
> The code in question works in all other browsers.  As stated above, the
> code works on IE 6 if I put in an alert() statement anywhere in the
> fckeditor code (I put in an "alert("HERE!");" statement right after the
> definition of FCKBrowserInfo.
>
> This code fires onload:
> {{{
> oFCKeditor.ReplaceTextarea()
> }}}
>
> In the base content of the page we have this declaration:
> {{{
> var oFCKeditor = new FCKeditor('message');
> }}}
>
> The textarea definition looks like this:
>
> {{{
>    <textarea class="composebody" tabindex="8" name="message" id="message"
> rows="20" cols="80">Foo</textarea>
> }}}

New description:

 From http://bugs.horde.org/ticket/6958 :

  After playing around with this for about 2 hours, I have determined that
 this is a (critical) bug in fckeditor; more specifically,
 ReplaceTextarea().  I don't see what you are seeing, but instead I see the
 fckeditor load, then the window blinks for a second, and then it *looks*
 like it is completely loaded.  Just 2 problems:

  1.) all text that was previous in the textarea is gone and

  2.) clicking on heading/font, or clicking anywhere in the textarea,
 outputs JS warnings.  Strangely enough - if I put an alert() in the middle
 of the fckeditor code, the delay it takes for me to close the alert box
 appears to be enough to allow the loading process to proceed correctly.  I
 see the textarea text correctly populated into the fckeditor window and i
 get no javascript errors when I click on various stuff.  So my guess is
 that something is trying to be placed in a DOM element too quickly on IE6
 before that element is ready.

 The code in question works in all other browsers.  As stated above, the
 code works on IE 6 if I put in an alert() statement anywhere in the
 fckeditor code (I put in an "alert("HERE!");" statement right after the
 definition of FCKBrowserInfo.

 This code fires onload:
 {{{
 oFCKeditor.ReplaceTextarea()
 }}}

 In the base content of the page we have this declaration:
 {{{
 var oFCKeditor = new FCKeditor('message');
 }}}

 The textarea definition looks like this:

 {{{
    <textarea class="composebody" tabindex="8" name="message" id="message"
 rows="20" cols="80">Foo</textarea>
 }}}

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2312#comment:3>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to