Opened 17 years ago

Last modified 12 years ago

#668 closed Bug

[SS] Apply predefined styles to ul/ol — at Initial Version

Reported by: Martin Kou Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: SVN (FCKeditor) - Retired
Keywords: SF Cc: Frederico Caldeira Knabben

Description

Predefine a style class via fckstyles.xml

<Style name="Link list" element="ul">
<Attribute name="class"
value="LinkList" />
</Style>

Then in the editor select text and apply the "Link list" class. What is created is:

<ul class="LinkList">New document</ul>

Which should be

<ul class="LinkList">
<li>New document</li>
</ul>

This could be the case for multiple place where elements are ceated this way. This is the only one I've tested currently. (IE)

The second thing:

  • create a unordered list using toolbar
  • enter text "test item" and place the cursor between

words

  • choose "Link list" from styles

# Nothing happens

  • select "test item" and apply the "Link list" style

# the list is messed up as the result shows

<ul>
<ul class="LinkList">test item</ul>
<li>~ </li>
</ul>

There is no way to apply a predefined style/class to the ul/ol tags.

Best regards

SelfMan

Change History (0)

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