Function: linkPlugin

linkPlugin(params?): RealmPlugin

A plugin that adds support for links in the editor.

Parameters

NameTypeDescription
params?Object-
params.disableAutoLink?booleanWhether to disable the auto-linking of URLs and email addresses. Default ts false
params.validateUrl?(url: string) => booleanAn optional function to validate the URL of a link. By default, no validation is performed.

Returns

RealmPlugin