EditorCreateLinkButtonDirective

A directive which configures an existing ToolBarButtonComponent as an Editor CreateLink tool (see example). The directive will predefine the icon and click event handlers of the button. In addition, the directive updates the disabled state of the button according to the cursor position in the editing area.

<kendo-toolbar-button kendoEditorCreateLinkButton></kendo-toolbar-button>

The following example demonstrates how to change the default icon that is applied by the directive.

<kendo-toolbar-button kendoEditorCreateLinkButton [icon]="'blogger'"></kendo-toolbar-button>

Selector

kendo-toolbar-button[kendoEditorCreateLinkButton]

In this article

Not finding the help you need?