Forum closed. New forum available at

Textarea focus bug on IE7 and IE6

Support forum for WYMeditor.

Textarea focus bug on IE7 and IE6

Postby gunt on Tue Jul 22, 2008 2:57 pm

I have a bug on IE7 / IE6 under WymEditor 0.4 and 0.5 alpha. When I click on the textarea to seize my text this one create a paragraph except IE7 and IE6, we are obliged to press enter and create 2 paragraphs and to press on backspace to delete the second paragrapgh. Know a fix to resolve this problem ?

Code: Select all
<textarea name="paragraph" class="wymeditor" cols="50" rows="4"></textarea>

Thanks for your help :)
Posts: 4
Joined: Tue Jul 22, 2008 1:24 pm

Re: Textarea focus bug on IE7 and IE6

Postby jfh on Wed Aug 13, 2008 8:22 pm

Type your text, and press 'return' - it will create the paragraph.
You can also initialize the content with something like '<p><br/></p>'.
User avatar
Site Admin
Posts: 370
Joined: Sat Sep 23, 2006 8:43 pm
Location: Belgium

Re: Textarea focus bug on IE7 and IE6

Postby mykel_suthertun on Fri Sep 05, 2008 10:14 pm

Just thought I'd let you know I was able to replicate your "bug" exactly as you described. It was very annoying and rendered the editor pretty much useless in IE7 (which, unfortunately, 99.9% of my office uses). Here's a screenshot: ... enshot.png

For reasons I won't get into, I had slightly edited the following code from /wymeditor/iframe/default/wymiframe.css a while ago:
Code: Select all
/* Gecko min height fix */
  p             { min-height: 1em; } /*min-height is needed under Firefox, because empty parargraphs */
  *+html p      { min-height: auto; } /* but we have to remove it under IE7 because it triggers the 'haslayout' mode */
  td            { height: 1.6em; }

After I noticed the problem in IE7, I changed it back to the default (above) and it was fine. If you haven't edited the code above at all, try searching the rest of your site's CSS for height declarations on paragraph elements. Just a shot in the dark...
Posts: 3
Joined: Fri Sep 05, 2008 6:41 pm

Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest