Skip to content

Vizel API / core/src / VizelLinkOptions

Interface: VizelLinkOptions

Defined in: packages/core/src/extensions/link.ts:3

Properties

ts
optional autolink?: boolean;

Defined in: packages/core/src/extensions/link.ts:14

If enabled, URLs will be automatically linked while typing.

Default

ts
true

defaultProtocol?

ts
optional defaultProtocol?: string;

Defined in: packages/core/src/extensions/link.ts:26

Default protocol for links without one.

Default

ts
'https'

HTMLAttributes?

ts
optional HTMLAttributes?: Record<string, string>;

Defined in: packages/core/src/extensions/link.ts:31

Additional HTML attributes to add to links.


linkOnPaste?

ts
optional linkOnPaste?: boolean;

Defined in: packages/core/src/extensions/link.ts:20

If enabled, pasted URLs will be linked.

Default

ts
true

openOnClick?

ts
optional openOnClick?: boolean;

Defined in: packages/core/src/extensions/link.ts:8

If enabled, links will be opened on click.

Default

ts
true

Released under the MIT License.