Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Comments #1376

Merged
merged 113 commits into from
Feb 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
4d6e252
wip: better liveblocks support
YousefED Nov 14, 2024
dcd7c72
Merge remote-tracking branch 'origin/main' into feature/liveblocks-v2
YousefED Nov 18, 2024
c659253
misc fixes
YousefED Nov 18, 2024
a03d33f
misc
YousefED Nov 19, 2024
85521df
revert minimal
YousefED Nov 19, 2024
e43741a
simplify setup
YousefED Nov 20, 2024
e0c7f0f
update config
YousefED Nov 20, 2024
d747238
fix
YousefED Nov 20, 2024
6ce69ea
fix
YousefED Nov 20, 2024
a3028c1
markview
YousefED Dec 14, 2024
15c7520
cleanup
YousefED Dec 14, 2024
b8a8d49
Merge remote-tracking branch 'origin/main' into feature/liveblocks-v2
YousefED Jan 8, 2025
1b44296
wip
YousefED Jan 10, 2025
23275a0
wip
YousefED Jan 13, 2025
721a4e9
wip
YousefED Jan 14, 2025
e824c42
wip
YousefED Jan 15, 2025
f2d4bb8
misc
YousefED Jan 16, 2025
434eafa
add threadstore tests
YousefED Jan 16, 2025
9d35f72
document recommended auth rules
YousefED Jan 16, 2025
58ed7c0
resolve
YousefED Jan 16, 2025
b761e1e
basic userstore impl
YousefED Jan 16, 2025
5f52147
user auth
YousefED Jan 16, 2025
060708d
Big comments UX WIP
matthewlipski Jan 24, 2025
5c6f45b
Merge branch 'main' into feature/comments
matthewlipski Jan 28, 2025
16c6a7a
Merge branch 'main' into feature/comments
matthewlipski Jan 28, 2025
a5e07c0
Updated reactions UX
matthewlipski Jan 28, 2025
b42047f
change reaction implementation
YousefED Feb 10, 2025
43a1eb0
reactions improvements
YousefED Feb 10, 2025
306c335
small cleanup
YousefED Feb 10, 2025
99d9d21
cleanups + mark some todos
YousefED Feb 10, 2025
4501af4
comments
YousefED Feb 11, 2025
eadb49d
fix locales
YousefED Feb 11, 2025
b81bab0
Merge remote-tracking branch 'upstream/main' into feature/comments
YousefED Feb 11, 2025
9f40651
fix build
YousefED Feb 11, 2025
7ae2b7f
cleanup + sample
YousefED Feb 11, 2025
748a183
fix build
YousefED Feb 11, 2025
e93b53b
fix lint
YousefED Feb 11, 2025
be9dd46
disable liveblocks for now
YousefED Feb 11, 2025
3e93d1e
lint
YousefED Feb 11, 2025
40269a5
fix linkify warning + make toggle editable comment
YousefED Feb 11, 2025
62a8944
fix content reset bug
YousefED Feb 11, 2025
22fdde6
Implemented PR feedback
matthewlipski Feb 11, 2025
c293fdf
Merge remote-tracking branch 'origin/feature/comments' into feature/c…
matthewlipski Feb 11, 2025
c0d1bd5
fix placeholder
YousefED Feb 12, 2025
311881c
Merge branch 'feature/comments' of github.com:TypeCellOS/BlockNote in…
YousefED Feb 12, 2025
a71fc69
clean comment editor
YousefED Feb 12, 2025
4d498de
fix build
YousefED Feb 12, 2025
c5a6a0c
fix placeholders
YousefED Feb 12, 2025
3f7828d
- Adjusted comment spacing
matthewlipski Feb 13, 2025
d2c9f34
Implemented PR feedback
matthewlipski Feb 14, 2025
6df6886
fix build
YousefED Feb 14, 2025
5b7e3d4
implement TipTapThreadStore
YousefED Feb 14, 2025
3ef17e5
address feedback
YousefED Feb 14, 2025
db7d339
add comment
YousefED Feb 17, 2025
6067a2b
Merge remote-tracking branch 'origin/main' into feature/liveblocks-v2
YousefED Feb 17, 2025
298ba46
Merge branch 'feature/liveblocks-v2' into feature/comments
YousefED Feb 17, 2025
c007f84
wip
YousefED Feb 17, 2025
99c599c
Merge branch 'main' into feature/comments
YousefED Feb 18, 2025
c0c848a
add autofocus
YousefED Feb 18, 2025
9576cfe
Simplified tooltip + popover interaction
matthewlipski Feb 18, 2025
44b2dca
feat: ShadCN comments (#1445)
matthewlipski Feb 20, 2025
6c6b017
change reaction auth
YousefED Feb 20, 2025
97f1f0a
Merge branch 'feature/comments' of github.com:TypeCellOS/BlockNote in…
YousefED Feb 20, 2025
5decc46
make emoji optional
YousefED Feb 20, 2025
4cb7af0
fix bug
YousefED Feb 20, 2025
27a2523
Extracted reaction badge WIP
matthewlipski Feb 20, 2025
b27db16
Merge remote-tracking branch 'origin/feature/comments' into feature/c…
matthewlipski Feb 20, 2025
65dfc20
fix useUsers
YousefED Feb 20, 2025
2fe1052
Fixed formatting toolbar not showing up when editor is non-editable
matthewlipski Feb 20, 2025
e3291d0
Merge remote-tracking branch 'origin/feature/comments' into feature/c…
matthewlipski Feb 20, 2025
165a014
Fixed reaction badge tooltip line breaks and made leaving comment not…
matthewlipski Feb 20, 2025
807d8d1
Improved badge UX and made reactions hide when editing
matthewlipski Feb 20, 2025
e3e5867
Fixed new comments sometimes not being selectable
matthewlipski Feb 21, 2025
6bdbf15
remove unused files
YousefED Feb 21, 2025
d0b3f39
rest thread store
YousefED Feb 22, 2025
cfd94eb
fix copy/paste
YousefED Feb 22, 2025
ac6a17c
add shift
YousefED Feb 22, 2025
f200646
add docs
YousefED Feb 22, 2025
7c0746e
Merge remote-tracking branch 'origin/main' into feature/comments
YousefED Feb 22, 2025
4d293ef
update docs
YousefED Feb 22, 2025
f35a66a
revert liveblocks, will be separate PR
YousefED Feb 23, 2025
8d9d542
clean lockfile
YousefED Feb 23, 2025
0f1e019
fix some todos
YousefED Feb 23, 2025
490291f
adress number of comments
YousefED Feb 23, 2025
11d9ee6
address more comments
YousefED Feb 23, 2025
7d4b64e
address some comments
YousefED Feb 23, 2025
8ec3e50
clean commentsplugin
YousefED Feb 23, 2025
fa1e5a7
ForceSelectionVisible
YousefED Feb 23, 2025
f2f29e7
fix floatingcomposercontroller
YousefED Feb 23, 2025
e97985e
fix unit test
YousefED Feb 23, 2025
a4a90b8
close threads on esc
YousefED Feb 23, 2025
df1d6a0
Merge remote-tracking branch 'origin/main' into feature/comments
YousefED Feb 23, 2025
7b128dc
remove debugger
YousefED Feb 23, 2025
9ae74bd
small fix
YousefED Feb 24, 2025
953aefa
Fixed badge styles on docs
matthewlipski Feb 25, 2025
46101a0
Fixed badge click handler
matthewlipski Feb 25, 2025
ab00b5d
Added remaining UX fixes from Mantine to Ariakit/ShadCN
matthewlipski Feb 25, 2025
38a670d
Externalized strings
matthewlipski Feb 26, 2025
8d8ebec
Small styling fix
matthewlipski Feb 26, 2025
6744b26
Merge branch 'main' into feature/comments
matthewlipski Feb 26, 2025
a7a5656
Small styling fix
matthewlipski Feb 26, 2025
ebfb4da
Fix lint
matthewlipski Feb 26, 2025
9944ca7
Fixed side menu regression issue
matthewlipski Feb 26, 2025
30003d7
Implemented PR feedback
matthewlipski Feb 27, 2025
f1557b1
Implemented PR feedback
matthewlipski Feb 27, 2025
a647ec3
Updated emoji picker screenshots
matthewlipski Feb 28, 2025
065c74d
Revert "Updated emoji picker screenshots"
matthewlipski Feb 28, 2025
f26edd3
Merge branch 'main' into feature/comments
matthewlipski Feb 28, 2025
ae534b4
Updated `package-lock.json`
matthewlipski Feb 28, 2025
9a12826
Merge branch 'main' into feature/comments
matthewlipski Feb 28, 2025
828d13e
Fixed `no` locale
matthewlipski Feb 28, 2025
46836e5
Updated `package-lock.json`
matthewlipski Feb 28, 2025
641a6b8
Added temp test pass
matthewlipski Feb 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 19 additions & 15 deletions docs/components/example/styles.css
Original file line number Diff line number Diff line change
@@ -1,34 +1,38 @@
:focus-visible {
box-shadow: unset !important;
box-shadow: unset !important;
}

.demo .nextra-code-block pre {
background-color: transparent !important;
margin: 0 !important;
padding: 0 !important;
background-color: transparent !important;
margin: 0 !important;
padding: 0 !important;
}

.demo .nextra-code-block code > span {
padding: 0 !important;
padding: 0 !important;
}

.demo .bn-container,
.demo .bn-container:not(.bn-comment-editor),
.demo .bn-editor {
height: 100%;
height: 100%;
}

.demo .bn-container:not(.bn-comment-editor) .bn-editor {
height: 100%;
}

.demo .bn-editor {
overflow: auto;
padding-block: 1rem;
overflow: auto;
padding-block: 1rem;
}

.demo-contents a {
color: revert;
text-decoration: revert;
color: revert;
text-decoration: revert;
}

.demo code.bn-inline-content {
font-size: 1em;
line-height: 1.5;
display: block;
}
font-size: 1em;
line-height: 1.5;
display: block;
}
5 changes: 5 additions & 0 deletions docs/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ const nextConfig = withAnalyzer(
destination: "/examples/basic/default-blocks",
permanent: true,
},
{
source: "/docs/advanced/real-time-collaboration",
destination: "/docs/collaboration",
permanent: true,
},
],
experimental: {
externalDir: true,
Expand Down
1 change: 1 addition & 0 deletions docs/pages/docs/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"styling-theming": "Styling & Theming",
"ui-components": "UI Components",
"custom-schemas": "Custom Schemas",
"collaboration": "Collaboration",
"advanced": "Advanced",
"discord-link": {
"title": "Community ↗",
Expand Down
11 changes: 11 additions & 0 deletions docs/pages/docs/collaboration.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Collaboration
description: Learn how to create multiplayer experiences with BlockNote
---

# Collaboration (advanced)

BlockNote supports multi-user collaborative document editing.

- [Real-time collaboration](/docs/collaboration/real-time-collaboration)
- [Comments](/docs/collaboration/comments)
4 changes: 4 additions & 0 deletions docs/pages/docs/collaboration/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"real-time-collaboration": "Real-time collaboration",
"comments": "Comments"
}
138 changes: 138 additions & 0 deletions docs/pages/docs/collaboration/comments.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
---
title: Comments
description: Learn how to enable comments in your BlockNote editor
imageTitle: Comments
---

import { Example } from "@/components/example";

# Comments

BlockNote supports Comments, Comment Threads (replies) and emoji reactions out of the box.

To enable comments in your editor, you need to:

- provide a `resolveUsers` so BlockNote can retrieve and display user information (names and avatars).
- provide a `ThreadStore` so BlockNote can store and retrieve comment threads.
- enable real-time collaboration (see [Real-time collaboration](/docs/collaboration/real-time-collaboration))

```tsx
const editor = useCreateBlockNote({
resolveUsers: async (userIds: string[]) => {
// return user information for the given userIds (see below)
},
comments: {
threadStore: yourThreadStore, // see below
},
// ...
collaboration: {
// ... // see real-time collaboration docs
},
});
```

**Demo**

<Example name="collaboration/comments" />

## ThreadStores

A ThreadStore is used to store and retrieve comment threads. BlockNote is backend agnostic, so you can use any database or backend to store the threads.
BlockNote comes with several built-in ThreadStore implementations:

### `YjsThreadStore`

The `YjsThreadStore` provides direct Yjs-based storage for comments, storing thread data directly in the Yjs document. This implementation is ideal for simple collaborative setups where all users have write access to the document.

```tsx
import { YjsThreadStore } from "@blocknote/core";

const threadStore = new YjsThreadStore(
userId, // The active user's ID
yDoc.getMap("threads"), // Y.Map to store threads
new DefaultThreadStoreAuth(userId, "editor"), // Authorization information, see below
);
```

_Note: While this is the easiest to implement, it requires users to have write access to the Yjs document to leave comments. Also, without proper server-side validation, any user could technically modify other users' comments._

### `RESTYjsThreadStore`

The `RESTYjsThreadStore` combines Yjs storage with a REST API backend, providing secure comment management while maintaining real-time collaboration. This implementation is ideal when you have strong authentication requirements, but is a little more work to set up.

In this implementation, data is written to the Yjs document via a REST API which can handle access control. Data is still retrieved from the Yjs document directly (after it's been updated by the REST API), this way all comment information automatically syncs between clients using the existing collaboration provider.

```tsx
import { RESTYjsThreadStore, DefaultThreadStoreAuth } from "@blocknote/core";

const threadStore = new RESTYjsThreadStore(
"https://api.example.com/comments", // Base URL for the REST API
{
Authorization: "Bearer your-token", // Optional headers to add to requests
},
yDoc.getMap("threads"), // Y.Map to retrieve commend data from
new DefaultThreadStoreAuth(userId, "editor"), // Authorization rules (see below)
);
```

An example implementation of the REST API can be found in the [example repository](https://github.com/TypeCellOS/BlockNote-demo-nextjs-hocuspocus).

_Note: Because writes are executed via a REST API, the `RESTYjsThreadStore` is not suitable for local-first applications that should be able to add and edit comments offline._

### `TiptapThreadStore`

The `TiptapThreadStore` integrates with Tiptap's collaboration provider for comment management. This implementation is designed specifically for use with Tiptap's collaborative editing features.

```tsx
import { TiptapThreadStore, DefaultThreadStoreAuth } from "@blocknote/core";
import { TiptapCollabProvider } from "@hocuspocus/provider";

// Create a TiptapCollabProvider (you probably have this already)
const provider = new TiptapCollabProvider({
name: "test",
baseUrl: "https://collab.yourdomain.com",
appId: "test",
document: doc,
});

// Create a TiptapThreadStore
const threadStore = new TiptapThreadStore(
userId, // The active user's ID
provider, // Tiptap collaboration provider
new DefaultThreadStoreAuth(userId, "editor"), // Authorization rules (see below)
);
```

### ThreadStoreAuth

The `ThreadStoreAuth` class defines the authorization rules for interacting with comments. Every ThreadStore implementation requires a `ThreadStoreAuth` instance. BlockNote uses the `ThreadStoreAuth` instance to deterine which interactions are allowed for the current user (for example, whether they can create a new comment, edit or delete a comment, etc.).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to determine


The `DefaultThreadStoreAuth` class provides a basic implementation of the `ThreadStoreAuth` class. It takes a user ID and a role ("comment" or "editor") and implements the rules. See the [source code](https://github.com/TypeCellOS/BlockNote/blob/main/packages/core/src/extensions/Comments/threadstore/DefaultThreadStoreAuth.ts) for more details.

_Note: The `ThreadStoreAuth` only used to show / hide options in the UI. To secure comment related data, you still need to implement your own server-side validation (e.g. using `RESTYjsThreadStore` and a secure REST API)._

## `resolveUsers` function

When a user interacts with a comment, the data is stored in the ThreadStore, along with the active user ID (as specified when initiating the ThreadStore).

To display comments, BlockNote needs to retrieve user information (such as the username and avatar) based on the user ID. To do this, you need to provide a `resolveUsers` function in the editor options.

This function is called with an array of user IDs, and should return an array of `User` objects in the same order.

```tsx
type User = {
id: string;
username: string;
avatarUrl: string;
};

async function myResolveUsers(userIds: string[]): Promise<User[]> {
// fetch user information from your database / backend
// and return an array of User objects

return await callYourBackend(userIds); //

// Return a list of users
return users;
}
```
Comment on lines +114 to +138
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should be a Map<User['id'], User> to make it order-independent and automatically de-duped

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Might be a good idea, agree it's a better API with a Map, but also a bit more complex to explain maybe.

I'll decide when finalizing unless you feel very strong about it :)

12 changes: 10 additions & 2 deletions docs/pages/docs/editor-basics/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ function useCreateBlockNote(
type BlockNoteEditorOptions = {
animations?: boolean;
collaboration?: CollaborationOptions;
comments?: CommentsConfig;
defaultStyles?: boolean;
dictionary?: Dictionary;
disableExtensions?: string[];
Expand Down Expand Up @@ -50,6 +51,8 @@ The hook takes two optional parameters:

`collaboration`: Options for enabling real-time collaboration. See [Real-time Collaboration](/docs/advanced/real-time-collaboration) for more info.

`comments`: Configuration for the comments feature, requires a `threadStore`. See [Comments](/docs/collaboration/comments) for more.

`defaultStyles`: Whether to use the default font and reset the styles of `<p>`, `<li>`, `<h1>`, etc. elements that are used in BlockNote. Defaults to true if undefined.

`dictionary`: Provide strings for localization. See the [Localization / i18n example](/examples/basic/localization) and [Custom Placeholders](/examples/basic/custom-placeholder).
Expand All @@ -62,15 +65,17 @@ The hook takes two optional parameters:

`initialContent:` The content that should be in the editor when it's created, represented as an array of [Partial Blocks](/docs/manipulating-blocks#partial-blocks).

`resolveFileUrl:` An async function that fetches the download URL of a file from an initial URL.
`resolveFileUrl:` Function to resolve file URLs for display/download. Useful for creating authenticated URLs or implementing custom protocols.

`resolveUsers`: Function to resolve user information for comments. See [Comments](/docs/collaboration/comments) for more.

`schema`: The editor schema if you want to extend your editor with custom blocks, styles, or inline content [Custom Schemas](/docs/custom-schemas).

`setIdAttribute`: Whether to render an `id` HTML attribute on blocks as well as a `data-id` attribute. Defaults to `false`.

`sideMenuDetection`: Determines whether the mouse cursor position is locked to the editor bounding box for showing the [Block Side Menu](/docs/ui-components/side-menu) and block drag & drop. When set to `viewport`, the Side Menu will be shown next to the nearest block to the cursor, regardless of where it is in the viewport. Dropping blocks will also be locked to the editor bounding box. Otherwise, the Side Menu will only be shown when the cursor is within the editor bounds, and blocks can only be dropped when hovering the editor. In order to use multiple editors, must be set to `editor`. Defaults to `viewport`.

`tabBehavior`: Determines whether pressing the tab key should navigate the UI for keyboard accessibility or indent the current block. Defaults to `prefer-navigate-ui`.
`tabBehavior`: Determines whether pressing the tab key should navigate toolbars for keyboard accessibility. When set to `"prefer-navigate-ui`, the user can navigate toolbars using Tab. Pressing Escape re-focuses the editor, and Tab now indents blocks. `"prefer-indent"` causes Tab to always indent blocks. Defaults to `prefer-navigate-ui`.

`trailingBlock`: An option which user can pass with `false` value to disable the automatic creation of a trailing new block on the next line when the user types or edits any block. Defaults to `true` if undefined.

Expand Down Expand Up @@ -125,6 +130,7 @@ export type BlockNoteViewProps = {
emojiPicker?: boolean;
filePanel?: boolean;
tableHandles?: boolean;
comments?: boolean;
children?:
} & HTMLAttributes<HTMLDivElement>;
```
Expand Down Expand Up @@ -153,6 +159,8 @@ export type BlockNoteViewProps = {

`tableHandles`: Whether the Table Handles should be enabled.

`comments`: Whether the default comments UI feature should be enabled.

`children`: Pass child elements to the `BlockNoteView` to create or customize toolbars, menus, or other UI components. See [UI Components](/docs/ui-components) for more.

Additional props passed are forwarded to the HTML `div` element BlockNote renders internally.
Expand Down
2 changes: 1 addition & 1 deletion examples/01-basic/01-minimal/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useCreateBlockNote } from "@blocknote/react";

export default function App() {
// Creates a new editor instance.
const editor = useCreateBlockNote();
const editor = useCreateBlockNote({});

// Renders the editor instance using a React component.
return <BlockNoteView editor={editor} />;
Expand Down
2 changes: 1 addition & 1 deletion examples/01-basic/02-block-objects/App.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Block } from "@blocknote/core";
import "@blocknote/core/fonts/inter.css";
import { useCreateBlockNote } from "@blocknote/react";
import { BlockNoteView } from "@blocknote/mantine";
import "@blocknote/mantine/style.css";
import { useCreateBlockNote } from "@blocknote/react";
import { useState } from "react";

import "./styles.css";
Expand Down
2 changes: 1 addition & 1 deletion examples/07-collaboration/01-partykit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ In this example, we use PartyKit to let multiple users collaborate on a single B

**Relevant Docs:**

- [PartyKit](/docs/advanced/real-time-collaboration#partykit)
- [Editor Setup](/docs/editor-basics/setup)
- [PartyKit](/docs/collaboration/real-time-collaboration#partykit)
2 changes: 1 addition & 1 deletion examples/07-collaboration/02-liveblocks/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import "@blocknote/core/fonts/inter.css";
import { useCreateBlockNote } from "@blocknote/react";
import { BlockNoteView } from "@blocknote/mantine";
import "@blocknote/mantine/style.css";
import { useCreateBlockNote } from "@blocknote/react";
import { createClient } from "@liveblocks/client";
import LiveblocksProvider from "@liveblocks/yjs";
import * as Y from "yjs";
Expand Down
2 changes: 1 addition & 1 deletion examples/07-collaboration/02-liveblocks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ In this example, we use Liveblocks to let multiple users collaborate on a single

**Relevant Docs:**

- [Liveblocks](/docs/advanced/real-time-collaboration#liveblocks)
- [Editor Setup](/docs/editor-basics/setup)
- [Liveblocks](/docs/collaboration/real-time-collaboration#liveblocks)
3 changes: 2 additions & 1 deletion examples/07-collaboration/03-y-sweet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ In this example, we use Y-Sweet to let multiple users collaborate on a single Bl

**Relevant Docs:**

- [Y-Sweet on Jamsocket](https://docs.jamsocket.com/y-sweet/tutorials/blocknote)
- [Editor Setup](/docs/editor-basics/setup)
- [Real-time collaboration](/docs/collaboration/real-time-collaboration)
- [Y-Sweet on Jamsocket](https://docs.jamsocket.com/y-sweet/tutorials/blocknote)
10 changes: 10 additions & 0 deletions examples/07-collaboration/04-comments/.bnexample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"playground": true,
"docs": true,
"author": "yousefed",
"tags": ["Advanced", "Comments", "Collaboration"],
"dependencies": {
"@y-sweet/react": "^0.6.3",
"@mantine/core": "^7.10.1"
}
}
Loading
Loading