Function: linkPlugin()
linkPlugin(
params
?):RealmPlugin
A plugin that adds support for links in the editor.
Parameters
Parameter | Type | Description |
---|---|---|
params ? | object | - |
params.disableAutoLink ? | boolean | Whether to disable the auto-linking of URLs and email addresses.Defaultfalse |
params.validateUrl ? | (url ) => boolean | An optional function to validate the URL of a link. By default, no validation is performed. |