Function: imagePlugin()

imagePlugin(params?): RealmPlugin

A plugin that adds support for images.

Parameters

ParameterType
params?object
params.ImageDialog?FC<object> | () => Element
params.disableImageResize?boolean
params.disableImageSettingsButton?boolean
params.imageAutocompleteSuggestions?string[]
params.imagePreviewHandler?ImagePreviewHandler
params.imageUploadHandler?ImageUploadHandler

Returns

RealmPlugin