New to Kendo UI for AngularStart a free 30-day trial

ApplyToWordOptions

Represents the options for applying a command to the "word" at the cursor position. Use the before and after regular expressions to define what counts as a word boundary (see example).

typescript
const options: ApplyToWordOptions = {
  before: /\s/,
  after: /\s/
};
NameTypeDefaultDescription

after

RegExp

Defines the regular expression for the end boundary of the word after the cursor.

before

RegExp

Defines the regular expression for the start boundary of the word before the cursor.

Not finding the help you need?
Contact Support