Ticket #717 (confirmed New Feature)

Opened 7 years ago

Last modified 2 years ago

CSS in ordered / unordered lists.

Reported by: simpleupdates Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version:
Keywords: Cc: damo, JoeK

Description (last modified by alfonsoml) (diff)

Hello!

I think the most dramatic upgrade I'd love to see to the editor would be to have unordered list menus CSS. A quick example:

<ul class="something">
<li><a href="#">Nav link 1</a></li>
<li class="selected"><a href="#">Nav link 2</a></li>
<ul class="something2">
<li class="selected2"><a href="#">Subnav link 1</a></li>
<li><a href="#">subnav link 2</a></li>
</ul>
<li><a href="#">Nav link 3</a></li>
</ul>

UL lists give much more flexibility with CSS styling, and one can always create a separate template that gives CSS dropdown capabilities, which a user could choose to use but wouldn't come as default to keep it simple for people.

You can right click on a list, and the list properties dialog appears. This could give the option to add CSS class for the entire list. It would also be good to think of a way to class specific items in the list as in my example.

Thanks for your time!

Change History

comment:1 Changed 7 years ago by alfonsoml

  • Keywords lists css removed
  • Component changed from General to Core : Styles
  • Description modified (diff)
  • Milestone FCKeditor 2.5 deleted

comment:2 Changed 6 years ago by w.olchawa

  • Keywords Confirmed added

Hi.

It would be a nice feature to change the appearance of the lists ( bulleted and numbered ). I don't know if it would be better to apply css styles for it or just use html like in #844, but definitely lists appearance options should be developed.

comment:3 Changed 4 years ago by alfonsoml

  • Cc damo, JoeK added

#5990 has been marked as dup

comment:5 Changed 2 years ago by j.swiderski

I'm marking #5641 as a duplicate.

comment:6 Changed 2 years ago by j.swiderski

I'm marking #8605 as duplicate

comment:7 Changed 2 years ago by j.swiderski

A lot of users are claiming that after they put a style on li element it does not get applied to list number/bullets (E.g. bigger font size, color)

But if you look at the code you will see that those styles are applied to text in li element and not to li element itself.

The source of the problem is that at the moment CKEditor is missing features like "list style dialog" and "list-item style dialog". Both were mentioned in #844 and #7853.

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy