Back to Devexpress

IAutocorrectSettings Interface

aspnetcore-js-devexpress-dot-richedit-7c69d355.md

latest2.4 KB
Original Source

IAutocorrectSettings Interface

Declares autocorrect settings.

Declaration

ts
export interface IAutocorrectSettings

Properties

caseSensitiveReplacement Property

Specifies whether to apply a case-sensitive string comparison when searching through the replacement collection’s items.

Declaration

ts
caseSensitiveReplacement?: boolean

Property Value

TypeDescription
boolean

true , for case-sensitive comparison; otherwise, false.

|

correctTwoInitialCapitals Property

Specifies whether the control should change the second letter to lowercase when a word starts with two capital letters.

Declaration

ts
correctTwoInitialCapitals?: boolean

Property Value

TypeDescription
boolean

true to correct the second letter; otherwise, false.

|

detectUrls Property

Specifies whether the control should detect URL strings and format them as hyperlinks.

Declaration

ts
detectUrls?: boolean

Property Value

TypeDescription
boolean

true to format URL strings as hyperlinks; otherwise, false.

|

enableAutomaticNumbering Property

Specifies whether the control should automatically create numbered or bulleted lists when certain symbols are typed.

Declaration

ts
enableAutomaticNumbering?: boolean

Property Value

TypeDescription
boolean

true to create lists; otherwise, false.

|

Remarks

When the property is set to true, the Rich Text Editor behaves as follows.

  • The control starts a numbered list when a user types “1.” or “1)”.
  • The control starts a bulleted list when a user types “*”.

replaceInfoCollection Property

Specifies a collection of replacements.

Declaration

ts
replaceInfoCollection?: IAutocorrectReplaceInfo[]

Property Value

TypeDescription
IAutocorrectReplaceInfo[]

An array of objects that contain replacement settings.

|

replaceTextAsYouType Property

Specifies whether the control should replace the typed text if it matches to one of the replacement collection’s items.

Declaration

ts
replaceTextAsYouType?: boolean

Property Value

TypeDescription
boolean

true to replace the typed text; otherwise, false.

|