New to Kendo UI for Angular? Start a free 30-day trial

ApplyToWordOptions

The options for applying a command to the "word" the cursor is in. Contains two properties: before and after representing regular expressions which determine the text before and after the cursor that constitutes a separate "word" the command will be applied to (see example).

NameTypeDefaultDescription

after

RegExp

The regular expression that sets the delimeters used to determine the end of the matching text relevant to the current cursor position.

before

RegExp

The regular expression that sets the delimeters used to determine the start of the matching text relevant to the current cursor position.

In this article

Not finding the help you need?