From 9900152754f09e31f775e050d24a99b1d15902df Mon Sep 17 00:00:00 2001 From: kualta Date: Thu, 31 Oct 2024 08:41:25 +0400 Subject: [PATCH] fix collaboration.mdx code example --- apps/www/content/docs/collaboration.mdx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/www/content/docs/collaboration.mdx b/apps/www/content/docs/collaboration.mdx index 3001f78b77..f3d4566cb4 100644 --- a/apps/www/content/docs/collaboration.mdx +++ b/apps/www/content/docs/collaboration.mdx @@ -34,9 +34,11 @@ const editor = createPlateEditor({ plugins: [ // ...otherPlugins, YjsPlugin.configure({ - hocuspocusProviderOptions: { - url: 'https://hocuspocus.test/hocuspocus', - name: 'test', + options: { + hocuspocusProviderOptions: { + url: "https://hocuspocus.test/hocuspocus", + name: "test", + } }, }), ]