Skip to content

Commit

Permalink
Added prop documentation and refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
sritabh committed Aug 27, 2024
1 parent f7b8b7a commit cb0b437
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions stories/API-Reference/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,11 @@ export const EDITOR_PROPS = [
"Improvises the editor performance by removing the images and code block components from the UI if they are out of the view port.",
"true",
],
[
"collaborationProvider",
"Provider to enable collaborative editing in the editor.",
"null",
],
];

export const UTILITIES_TABLE_COLUMNS = ["Name", "Arguments", "Description"];
Expand Down
4 changes: 2 additions & 2 deletions stories/Examples/Collaborative-editor.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import CollaborativeNeetoEditor from "./CollaborativeNeetoEditor";
component={Editor}
/>

# Collaborative editor POC
# Collaborative editor

Open current page in two different browser.

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

<Canvas>
<CollaborativeNeetoEditor />
Expand Down

0 comments on commit cb0b437

Please sign in to comment.