New to Kendo UI for AngularStart a free 30-day trial

Customizing Editor

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-editor-border-widthNumber1px1px
Description
The width of the border around the Еditor.
$kendo-editor-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font family of the Еditor.
$kendo-editor-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
The font size of the Еditor.
$kendo-editor-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the Еditor.
$kendo-editor-placeholder-textString$kendo-input-placeholder-textvar(--kendo-color-subtle, #666666)
Description
The text color of the Еditor placeholder.
$kendo-editor-placeholder-opacityNumber$kendo-input-placeholder-opacity1
Description
The opacity of the Editor placeholder.
$kendo-editor-selected-textString$kendo-color-primary-contrastvar(--kendo-color-on-primary, #ffffff)
Description
The selected text color of the Editor.
$kendo-editor-selected-bgString$kendo-color-primaryvar(--kendo-color-primary, #ff6358)
Description
The selected background color of the Editor.
$kendo-editor-highlighted-bgStringif($kendo-enable-color-system, k-color( primary-subtle ), k-color-mix($kendo-color-primary, #ffffff, 20%))var(--kendo-color-primary-subtle, #ffeceb)
Description
The highlighted background color of the Editor.
$kendo-editor-export-tool-icon-margin-xNumber.25em0.25em
Description
The horizontal margin of the Editor's export tool icon.
$kendo-editor-resize-handle-sizeNumber8px8px
Description
The size of the Editor's resize handle.
$kendo-editor-resize-handle-border-widthNumber1px1px
Description
The border width of the Editor's resize handle.
$kendo-editor-resize-handle-borderColor#000000#000000
Description
The border color of the Editor's resize handle.
$kendo-editor-resize-handle-bgColor#ffffff#ffffff
Description
The background color of the Editor's resize handle.
$kendo-editor-selectednode-outline-widthNumber2px2px
Description
The outline width of the Editor's selected node.
$kendo-editor-selectednode-outline-colorColor#88ccff#88ccff
Description
The outline color of the Editor's selected node.
In this article
VariablesSuggested Links
Not finding the help you need?
Contact Support