Opened 9 years ago

Last modified 9 years ago

#5775 closed New Feature

Required field's label to contain a CSS class to allow it to be styled differently — at Version 3

Reported by: Joe Kavanagh Owned by: Tobiasz Cudnik
Priority: Normal Milestone: CKEditor 3.4
Component: UI : Dialogs Version:
Keywords: IBM Confirmed Cc: Damian

Description (last modified by Tobiasz Cudnik)

If a labeled dialog UI Element's required property is set to true the field's label should contain a CSS style so it can be styled differently. For example:

<label class="cke_dialog_ui_labeled_label cke_required"...

A style like the following could then be used to mark required fields:

.cke_skin_<name> .cke_dialog_ui_labeled_label.cke_required:before {
	content: "* ";
}

Change History (4)

comment:1 Changed 9 years ago by Garry Yao

Keywords: Confirmed added

comment:2 Changed 9 years ago by Joe Kavanagh

Milestone: CKEditor 3.xCKEditor 3.4

comment:3 Changed 9 years ago by Tobiasz Cudnik

Description: modified (diff)
Owner: set to Tobiasz Cudnik
Status: newassigned

We're not allowed to use such advanced CSS selectors as in the example (because of IE6's lame support for selectors), but it should be doable somehow.

Changed 9 years ago by Tobiasz Cudnik

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