Opened 10 years ago

Last modified 6 years ago

#717 confirmed New Feature

CSS in ordered / unordered lists.

Reported by: Darryl Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version:
Keywords: Cc: Damian, Joe Kavanagh

Description (last modified by Alfonso Martínez de Lizarrondo)


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>
<li><a href="#">Nav link 3</a></li>

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 (6)

comment:1 Changed 10 years ago by Alfonso Martínez de Lizarrondo

Component: GeneralCore : Styles
Description: modified (diff)
Keywords: lists css removed
Milestone: FCKeditor 2.5

comment:2 Changed 9 years ago by Wojciech Olchawa

Keywords: Confirmed added


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 7 years ago by Alfonso Martínez de Lizarrondo

Cc: Damian Joe Kavanagh added

#5990 has been marked as dup

comment:5 Changed 6 years ago by Jakub Ś

I'm marking #5641 as a duplicate.

comment:6 Changed 6 years ago by Jakub Ś

I'm marking #8605 as duplicate

comment:7 Changed 6 years ago by Jakub Ś

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