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. |