Function: linkPlugin()

linkPlugin(params?): RealmPlugin

A plugin that adds support for links in the editor.

Parameters

ParameterTypeDescription
params?object-
params.disableAutoLink?booleanWhether to disable the auto-linking of URLs and email addresses.Defaultfalse
params.validateUrl?(url) => booleanAn optional function to validate the URL of a link. By default, no validation is performed.

Returns

RealmPlugin