Ticket #668 (new Bug)

Opened 16 months ago

Last modified 8 months ago

[SS] Apply predefined styles to ul/ol

Reported by: anonymous Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: SVN
Keywords: SF Confirmed Cc: fredck

Description (last modified by martinkou) (diff)

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


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1249697&group_id=75348&atid=543653R

Change History

Changed 16 months ago by martinkou

  • description modified (diff)
  • reporter changed from martinkou to anonymous

I'm marking this bug to [SS] (Style Selector).


Moved from SF. Original poster: fredck

Changed 16 months ago by martinkou

  • description modified (diff)

Changed 16 months ago by martinkou

  • description modified (diff)

Changed 12 months ago by alfonsoml

  • version set to SVN
  • component changed from General to Core : Styles

With the current SVN I can't get the "LinkList" item to appear in the styles combo unless exactly an existing UL has been selected (in Firefox), or it doesn't never appears (IE, Opera and Safari)

Same behavior exists for LI

Changed 11 months ago by alfonsoml

#1506 has been marked as dup

Changed 8 months ago by w.olchawa

  • keywords Confirmed added

Hi!

I have a similar results as alfonsoml. I'm marking it as Confirmed.

Note: See TracTickets for help on using tickets.