Function: linkDialogPlugin

linkDialogPlugin(params?): RealmPlugin

Parameters

NameTypeDescription
params?Object-
params.LinkDialog?() => ElementIf 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?ClickLinkCallbackIf set, clicking on the link in the preview popup will call this callback instead of opening the link.

Returns

RealmPlugin