CKEDITOR.dialog.definition.labeledElement
The definition of labeled user interface element (textarea, textInput etc).
This class is not really part of the API. It just illustrates the properties that developers can use to define and create dialog UI elements.
Filtering
Properties
align : StringCKEDITOR.dialog.definition.labeledElement#alignHorizontal alignment (in the container) of the UI element.
className : StringCKEDITOR.dialog.definition.labeledElement#classNameCSS class names to append to the UI element.
commit : FunctionCKEDITOR.dialog.definition.labeledElement#commitFunction to execute whenever the UI element's parent dialog's CKEDITOR.dialog.commitContent method is executed. It usually takes care of the respective UI element as a standalone element.
-
Specify the inline style of the input element container.
{ type: 'text', label: 'My Label', controlStyle: 'width: 3em' } id : StringCKEDITOR.dialog.definition.labeledElement#idThe ID of the UI element.
-
Specify the inline style of the input element.
{ type: 'text', label: 'My Label', inputStyle: 'text-align: center' } label : StringCKEDITOR.dialog.definition.labeledElement#labellabelLayout : StringCKEDITOR.dialog.definition.labeledElement#labelLayout(Optional) Specify the layout of the label. Set to
'horizontal'for horizontal layout. The default layout is vertical.{ type: 'text', label: 'My Label', labelLayout: 'horizontal' }labelStyle : StringCKEDITOR.dialog.definition.labeledElement#labelStyleSpecify the inline style of the uiElement label.
{ type: 'text', label: 'My Label', labelStyle: 'color: red' }onHide : FunctionCKEDITOR.dialog.definition.labeledElement#onHideFunction to execute whenever the UI element's parent dialog is closed.
onLoad : FunctionCKEDITOR.dialog.definition.labeledElement#onLoadFunction to execute the first time the UI element is displayed.
onShow : FunctionCKEDITOR.dialog.definition.labeledElement#onShowFunction to execute whenever the UI element's parent dialog is displayed.
requiredContent : String | Object | styleCKEDITOR.dialog.definition.labeledElement#requiredContentThe content that needs to be allowed to enable this UI element. All formats accepted by CKEDITOR.filter.check may be used.
When all UI elements in a tab are disabled, this tab will be disabled automatically.
setup : FunctionCKEDITOR.dialog.definition.labeledElement#setupFunction to execute whenever the UI element's parent dialog's CKEDITOR.dialog.setupContent method is executed. It usually takes care of the respective UI element as a standalone element.
style : StringCKEDITOR.dialog.definition.labeledElement#styleInline CSS classes to append to the UI element.
title : StringCKEDITOR.dialog.definition.labeledElement#titleThe popup label of the UI element.
type : StringCKEDITOR.dialog.definition.labeledElement#typeThe type of the UI element. Required.
widths : ArrayCKEDITOR.dialog.definition.labeledElement#widths(Optional) Applies only to horizontal layouts: a two elements array of lengths to specify the widths of the label and the content element. See also labelLayout.
{ type: 'text', label: 'My Label', labelLayout: 'horizontal', widths: [100, 200] }