Opened 7 years ago

Closed 7 years ago

#9179 closed New Feature (invalid)

dialog button style

Reported by: uniterre Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version:
Keywords: Cc:

Description

I think, we should custom the style of the buttons we create in a dialog. For example in order to change the background color of a button. As the align option, the labelStyle option is not effective :

{
            type : 'button',
            id : 'chargement',
            style : 'margin-left:200px;',
            align : 'center',
            labelStyle : 'font-weight: bold',
            title : 'My button',
            label : 'My button',
}

This code gives :

<a style="margin-left:200px;" href="javascript:void(0)" title="My button" hidefocus="true" class="cke_dialog_ui_button anyClass" role="button" aria-labelledby="cke_120_label" id="cke_121_uiElement"><span id="cke_120_label" class="cke_dialog_ui_button">My button</span></a>

I think these 2 options should be work.

Change History (1)

comment:1 Changed 7 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 3.6.5 (SVN - trunk)

Please see:
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.definition.labeledElement.html or description in
http://dev.ckeditor.com/browser/CKEditor/trunk/_source/plugins/dialogui/plugin.js?rev=7585

The labelStyle is not for buttons but it is

Base class for all dialog elements with a textual label on the left

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