Ticket #1561 (closed Bug: fixed)

Opened 6 years ago

Last modified 6 years ago

Style combo broken for applying a simple <nobr> tag

Reported by: MarkWB 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

comment:1 Changed 6 years ago by fredck

  • Status changed from new to closed
  • Keywords Confirmed added
  • Resolution set to fixed

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy