Closed (fixed)
Project:
WYMeditor
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2007 at 17:51 UTC
Updated:
11 May 2007 at 12:26 UTC
Jump to comment: Most recent file
Comments
Comment #1
Moxide commentedIt seems to be a problem with Gecko 'forgetting' the styleWithCSS command when hiding the iframe.
Could you please try the attached patch ?
Comment #2
kiz_0987 commentedThanks. This patch definitely helps -- now the buttons will style the text again when the WYMEditor is re-displayed. However, when changing the text style (eg bold->italic) after re-displaying the WYMEditor it sometimes messes up the styling and adds in the html code elements instead (ie you start to see
<em></em>in the styled text) which then get converted.Comment #3
Moxide commentedI think I am seeking the wrong path...
Could you confirm that the same behaviour occurs when simply using 'Preview' :
1. Add new page
2. Add some text, make some parts bold and italics.
3. Click on Preview
4. Try and remove bold and italics
Comment #4
kiz_0987 commentedYes, the same behaviour does occur (with the unpatched version). I did not test the patched version -- should I?
Comment #5
Moxide commentedHere is a new patch, which includes the previous one.
There seems to be a problem with the way WYMeditor handles bold and italics (in Mozilla only)...
Comment #6
kiz_0987 commentedSeems to work fine. Thanks for your help.
Comment #7
Moxide commentedCommitted.
Thank you !
Comment #8
killes@www.drop.org commented