Function: useRemoteMDXEditorRealm()
useRemoteMDXEditorRealm(
editorId
):undefined
|Realm
A hook to access the realm of a remote MDX editor by its ID. You need to wrap your tree in the RemoteMDXEditorRealmProvider
and add the remoteRealmPlugin to the editor's instance.
Parameters
Parameter | Type | Description |
---|---|---|
editorId | string | The id passed to the remoteRealmPlugin of the MDX editor instance. |
Returns
undefined
| Realm