New to Kendo UI for Angular? Start a free 30-day trial
Customizing Editor
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-editor-border-width | Number | 1px | 1px |
Description
The width of the border around the Еditor. | |||
$kendo-editor-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the Еditor. | |||
$kendo-editor-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the Еditor. | |||
$kendo-editor-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the Еditor. | |||
$kendo-editor-placeholder-text | String | $kendo-input-placeholder-text | var(--kendo-color-subtle, #666666) |
Description
The text color of the Еditor placeholder. | |||
$kendo-editor-placeholder-opacity | Number | $kendo-input-placeholder-opacity | 1 |
Description
The opacity of the Editor placeholder. | |||
$kendo-editor-selected-text | String | $kendo-color-primary-contrast | var(--kendo-color-on-primary, #ffffff) |
Description
The selected text color of the Editor. | |||
$kendo-editor-selected-bg | String | $kendo-color-primary | var(--kendo-color-primary, #ff6358) |
Description
The selected background color of the Editor. | |||
$kendo-editor-highlighted-bg | String | if($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-x | Number | .25em | 0.25em |
Description
The horizontal margin of the Editor's export tool icon. | |||
$kendo-editor-resize-handle-size | Number | 8px | 8px |
Description
The size of the Editor's resize handle. | |||
$kendo-editor-resize-handle-border-width | Number | 1px | 1px |
Description
The border width of the Editor's resize handle. | |||
$kendo-editor-resize-handle-border | Color | #000000 | #000000 |
Description
The border color of the Editor's resize handle. | |||
$kendo-editor-resize-handle-bg | Color | #ffffff | #ffffff |
Description
The background color of the Editor's resize handle. | |||
$kendo-editor-selectednode-outline-width | Number | 2px | 2px |
Description
The outline width of the Editor's selected node. | |||
$kendo-editor-selectednode-outline-color | Color | #88ccff | #88ccff |
Description
The outline color of the Editor's selected node. |