Customizing Editor

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-editor-border-width1px
Description
The width of the border around the Еditor.
$kendo-editor-font-familyvar( --kendo-font-family, inherit )
Description
The font family of the Еditor.
$kendo-editor-font-sizevar( --kendo-font-size, inherit )
Description
The font size of the Еditor.
$kendo-editor-line-heightvar( --kendo-line-height, normal )
Description
The line height of the Еditor.
$kendo-editor-textvar( --kendo-component-text, initial )
Description
The text color of the Editor.
$kendo-editor-bgvar( --kendo-component-bg, initial )
Description
The background color of the Editor.
$kendo-editor-bordervar( --kendo-component-border, initial )
Description
The color of the border around Editor.
$kendo-editor-placeholder-textvar( --kendo-input-placeholder-text, #{$kendo-input-placeholder-text} )
Description
The text color of the Еditor's placeholder.
$kendo-editor-placeholder-opacityvar( --kendo-input-placeholder-opacity, #{$kendo-input-placeholder-opacity} )
Description
The opacity of the Editor's placeholder.
$kendo-editor-content-outline-colorvar( --kendo-body-text, initial )
Description
The outline color of the Editor's content.
$kendo-editor-export-tool-icon-margin-xmap.get( $kendo-spacing, 1 )
Description
The horizontal margin of the Editor's export tool icon.
$kendo-editor-selectednode-outline-widthmap.get( $kendo-spacing, 0.5 )
Description
The outline width of the Editor's selected node.
$kendo-editor-selected-textif($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)
Description
The selected text color of the Editor.
$kendo-editor-selected-bgif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))
Description
The selected background color of the Editor.
$kendo-editor-highlighted-bgif($kendo-enable-color-system, color-mix(in srgb, k-color( primary ) 55%, transparent), k-get-theme-color-var( primary-60 ))
Description
The highlighted background color of the Editor.
$kendo-editor-resize-handle-sizemap.get( $kendo-spacing, 2 )
Description
The size of the Editor's resize handle.
$kendo-editor-resize-handle-border-width1px
Description
The border width of the Editor's resize handle.
$kendo-editor-resize-handle-borderif($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black)
Description
The border color of the Editor's resize handle.
$kendo-editor-resize-handle-bgif($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)
Description
The background color of the Editor's resize handle.
$kendo-editor-selectednode-outline-colorif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))
Description
The outline color of the Editor's selected node.
$kendo-editor-inline-td-bordervar( --kendo-component-border, initial )
Description
The border color of the Inline Editor data cell.
$kendo-editor-inline-hover-bordervar( --kendo-component-border, initial )
Description
The hover border color of the Inline Editor.
$ct-cell-size20px
Description
The size of the cell in the Insert table popup.
$kendo-editor-ct-popup-textvar( --kendo-selected-text, initial )
Description
The text color of the selected cells in the Insert table popup.
$kendo-editor-ct-popup-bgvar( --kendo-selected-bg, initial )
Description
The background color of the selected cells in the Insert table popup.
$kendo-editor-ct-popup-bordervar( --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?