New to Kendo UI for Angular? Start 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-textStringvar( --kendo-component-text, initial )var(--kendo-component-text, initial)
Description
The text color of the Editor.
$kendo-editor-bgStringvar( --kendo-component-bg, initial )var(--kendo-component-bg, initial)
Description
The background color of the Editor.
$kendo-editor-borderStringvar( --kendo-component-border, initial )var(--kendo-component-border, initial)
Description
The color of the border around Editor.
$kendo-editor-placeholder-textStringvar( --kendo-input-placeholder-text, #{$kendo-input-placeholder-text} )var(--kendo-input-placeholder-text, var(--kendo-color-subtle, #605e5c))
Description
The text color of the Еditor's placeholder.
$kendo-editor-placeholder-opacityStringvar( --kendo-input-placeholder-opacity, #{$kendo-input-placeholder-opacity} )var(--kendo-input-placeholder-opacity, 1)
Description
The opacity of the Editor's placeholder.
$kendo-editor-content-outline-colorStringvar( --kendo-body-text, initial )var(--kendo-body-text, initial)
Description
The outline color of the Editor's content.
$kendo-editor-export-tool-icon-margin-xStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The horizontal margin of the Editor's export tool icon.
$kendo-editor-selectednode-outline-widthStringk-spacing(0.5)var(--kendo-spacing-0\.5, 0.125rem)
Description
The outline width of the Editor's selected node.
$kendo-editor-selected-textStringif($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)var(--kendo-color-app-surface, #ffffff)
Description
The selected text color of the Editor.
$kendo-editor-selected-bgStringif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))var(--kendo-color-primary, #0078d4)
Description
The selected background color of the Editor.
$kendo-editor-highlighted-bgStringif($kendo-enable-color-system, color-mix(in srgb, k-color( primary ) 55%, transparent), k-get-theme-color-var( primary-60 ))color-mix(in srgb, var(--kendo-color-primary, #0078d4) 55%, transparent)
Description
The highlighted background color of the Editor.
$kendo-editor-resize-handle-sizeStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
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-borderStringif($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black)var(--kendo-color-on-app-surface, #323130)
Description
The border color of the Editor's resize handle.
$kendo-editor-resize-handle-bgStringif($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)var(--kendo-color-app-surface, #ffffff)
Description
The background color of the Editor's resize handle.
$kendo-editor-selectednode-outline-colorStringif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))var(--kendo-color-primary, #0078d4)
Description
The outline color of the Editor's selected node.
$kendo-editor-inline-td-borderStringvar( --kendo-component-border, initial )var(--kendo-component-border, initial)
Description
The border color of the Inline Editor data cell.
$kendo-editor-inline-hover-borderStringvar( --kendo-component-border, initial )var(--kendo-component-border, initial)
Description
The hover border color of the Inline Editor.
$ct-cell-sizeNumber20px20px
Description
The size of the cell in the Insert table popup.
$kendo-editor-ct-popup-textStringvar( --kendo-selected-text, initial )var(--kendo-selected-text, initial)
Description
The text color of the selected cells in the Insert table popup.
$kendo-editor-ct-popup-bgStringvar( --kendo-selected-bg, initial )var(--kendo-selected-bg, initial)
Description
The background color of the selected cells in the Insert table popup.
$kendo-editor-ct-popup-borderStringvar( --kendo-selected-border, initial )var(--kendo-selected-border, initial)
Description
The border color of the selected cells in the Insert table popup.

In this article

Not finding the help you need?