Skip to content

Commit cb0b437

Browse files
committed
Added prop documentation and refactoring
1 parent f7b8b7a commit cb0b437

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

stories/API-Reference/constants.js

+5
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,11 @@ export const EDITOR_PROPS = [
208208
"Improvises the editor performance by removing the images and code block components from the UI if they are out of the view port.",
209209
"true",
210210
],
211+
[
212+
"collaborationProvider",
213+
"Provider to enable collaborative editing in the editor.",
214+
"null",
215+
],
211216
];
212217

213218
export const UTILITIES_TABLE_COLUMNS = ["Name", "Arguments", "Description"];

stories/Examples/Collaborative-editor.stories.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ import CollaborativeNeetoEditor from "./CollaborativeNeetoEditor";
1515
component={Editor}
1616
/>
1717

18-
# Collaborative editor POC
18+
# Collaborative editor
1919

2020
Open current page in two different browser.
2121

22-
Check documentation for [provider](https://tiptap.dev/docs/hocuspocus/provider/introduction)
22+
Check [documentation for provider](https://tiptap.dev/docs/hocuspocus/provider/introduction)
2323

2424
<Canvas>
2525
<CollaborativeNeetoEditor />

0 commit comments

Comments
 (0)