Required field's label to contain a CSS class to allow it to be styled differently
— at Version 3
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)
Keywords: |
Confirmed added
|
Milestone: |
CKEditor 3.x →
CKEditor 3.4
|
Description: |
modified (diff)
|
Owner: |
set to Tobiasz Cudnik
|
Status: |
new →
assigned
|
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.