Opened 16 years ago

Closed 16 years ago

#1561 closed Bug (fixed)

Style combo broken for applying a simple <nobr> tag

Reported by: Mark Bryson Owned by:
Priority: Normal Milestone: FCKeditor 2.5
Component: Core : Styles Version: SVN (FCKeditor) - Retired
Keywords: Confirmed Cc:

Description

Browswer: IE7 (none others tried) Several versions tried between: 2.5.beta ... 2.5.SVN 17275 (11/24/07)

Using either javascript for addition to FCKConfig.CustomStyles or XML method of applying <nobr>...</nobr> tags to custom styles doesn't work:

'No break' : { Element : 'nobr' }

OR

<Style name="No break" element="nobr" />

This works in version 2.4.3 (XML only of course)

Nothing happens on selecting a range, and then selecting 'No break' style.

Change History (1)

comment:1 Changed 16 years ago by Frederico Caldeira Knabben

Keywords: Confirmed added
Resolution: fixed
Status: newclosed

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

The new Style System is quite "standards aware", being based on the W3C DTDs. The <nobr> element is completely out of standards, and until now, the system was not compatible with non standard things. A small change to the code made the magic, and now it is possible to use such kinds of tags.

In any case, I would strongly recommend replacing <nobr> with <span style="white-space: nowrap;">, or even use a CSS class for it.

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