Richtexteditor Ui - LinkSettingsModel

30 Sep 20261 minute to read

Interface for a class LinkSettings

Properties

allowedProtocols string[]

Specifies the list of allowed protocols for link URLs.
URLs with a protocol outside this list are rejected.
Relative URLs, query strings, and fragments skip this validation.

autoPrependProtocol boolean

Specifies whether to automatically prepend a protocol (such as https://)
to URLs that do not contain one.

defaultProtocol string

Specifies the protocol to prepend when autoPrependProtocol is enabled
and the URL lacks a protocol.

defaultTarget string

Specifies the default target for newly created links.
Possible values: '', '_self', '_blank', '_parent', '_top'.

linkOnPaste boolean

Specifies whether pasting a URL over selected text converts it into a link.