Function: linkDialogPlugin()
linkDialogPlugin(
params?):RealmPlugin
Parameters
| Parameter | Type | Description |
|---|---|---|
params? | object | - |
params.LinkDialog? | () => Element | If passed, the link dialog will be rendered using this component instead of the default one. |
params.linkAutocompleteSuggestions? | string[] | If passed, the link input field will autocomplete using the published suggestions. |
params.onClickLinkCallback? | ClickLinkCallback | If set, clicking on the link in the preview popup will call this callback instead of opening the link. |
params.onReadOnlyClickLinkCallback? | ReadOnlyClickLinkCallback | Invoked when a link is clicked in read-only mode |
params.showLinkTitleField? | boolean | If true, show the "Link title" field in link dialogs (this sets mouseover text, NOT anchor text) |