Opened 17 years ago

Closed 17 years ago

#1392 closed Bug (fixed)

Overrides and Spans not working as expected in Windows and Firefox

Reported by: Jessica Owned by: Frederico Caldeira Knabben
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: Core : Styles Version: SVN (FCKeditor) - Retired
Keywords: Confirmed Firefox Cc:


If I use your sample 14 in the html folder for 2.5 I am having the following problem:

1: Delete the text in the box and type in some new text, "Testing line 1".

2: Highlight "Testing line 1" and change the text size to 8pt.

3: Put the curser at the end of the line for "Testing line 1" and hit the enter key two times to create 2 new lines

4: Type in "Testing line 2", notice it is 8pt.

5: Highlight just "Testing line 2" and change the font to 14pt. For me it changes both lines of text not just the highligted text. I would expect the behavior to just change the size for just the highlighted section.

This is just an example, but I am having the same problem with overrides and spans in the changes that I am making.

If I hit the submit key I get the correct code for changing both lines: Key: FCKeditor1, val: <p><span class=\"FontBig\">Testing line 1<br /> <br /> Testing line 2</span></p>

Change History (2)

comment:1 Changed 17 years ago by Frederico Caldeira Knabben

Component: GeneralCore : Styles
Keywords: Confirmed Firefox added
Milestone: FCKeditor 2.5
Owner: set to Frederico Caldeira Knabben
Status: newassigned
Version: SVN

Confirmed. It happens only if EnterMode=br, or by using Shift+Enter with the default settings (producing <br> on line break).

comment:2 Changed 17 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: assignedclosed

Fixed with [1009]. Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy