Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
141 commits
Select commit Hold shift + click to select a range
b7d78ae
feat(core): add composable read-only restrictions
nperez0111 Sep 15, 2026
72a1702
feat(core)!: refine attribution colors and deleted-block styling
nperez0111 Sep 15, 2026
621902e
refactor(core)!: unify versioning state and preview lifecycle
nperez0111 Sep 15, 2026
11b4d59
feat(react)!: rebuild the version history sidebar
nperez0111 Sep 15, 2026
9be8d14
chore(examples): refresh versioning demos and setup
nperez0111 Sep 15, 2026
f2857ad
Improve versioning sidebar menu customization
nperez0111 Sep 15, 2026
f8ecfc9
Polish suggestion gallery styling and expand versioning coverage
nperez0111 Sep 15, 2026
194f69f
Fix build and snapshot runner dependency conflicts
nperez0111 Sep 15, 2026
48bec82
Fix version history seeding retries and preview state
nperez0111 Sep 15, 2026
a82f062
refactor: unify editability in ReadOnly extension
nperez0111 Sep 15, 2026
9cb2b5b
fix: animate versioning highlights without DOM mutations
nperez0111 Sep 16, 2026
b60ac63
Upgrade Yjs and y-prosemirror
nperez0111 Sep 16, 2026
2f9b255
Add attribution for block property changes
nperez0111 Sep 16, 2026
e4a5779
Improve version history keyboard accessibility and remove Save action
nperez0111 Sep 16, 2026
459b4db
Refactor YHub versioning and add safe history refresh
nperez0111 Sep 16, 2026
10062b6
Fix YHub attribution bounds for current version previews
nperez0111 Sep 16, 2026
449b9c5
Require synchronous version previews and simplify adapter contracts
nperez0111 Sep 16, 2026
e754cb6
Keep version selection visible when deletion clears a name
nperez0111 Sep 16, 2026
72fd1e5
Share versioning UI primitives and simplify sidebar state
nperez0111 Sep 16, 2026
c7fe526
Deduplicate versioning example history fixtures
nperez0111 Sep 16, 2026
afec519
refactor(react): move versioning to a dedicated sub-export
nperez0111 Sep 16, 2026
c9bc61b
fix: use read-only
nperez0111 Sep 16, 2026
6105796
chore: yjs versions
nperez0111 Sep 16, 2026
e537940
refactor: simplify
nperez0111 Sep 16, 2026
4dd8c83
refactor: inline version history sidebar, default editable true, use …
nperez0111 Sep 16, 2026
6939146
refactor: simplify scrollToFirstChange
nperez0111 Sep 16, 2026
26312d6
refactor: i18n versionLabel via blocknote dictionary
nperez0111 Sep 16, 2026
60fbd84
fix(core): report ReadOnly state from isEditable while unmounted
nperez0111 Sep 16, 2026
c492792
refactor(react): fixed header over scrolling version list, drop focus…
nperez0111 Sep 16, 2026
2f583c7
fix(react): return to Current when deleted version leaves the list
nperez0111 Sep 16, 2026
4a26842
chore: rm
nperez0111 Sep 16, 2026
8aa535a
fix(react): dedupe generic formatting-change tooltip label
nperez0111 Sep 16, 2026
ad01251
docs(gallery): mark textcolor-vs-bgcolor prop attribution as resolved
nperez0111 Sep 16, 2026
b93aa89
fix(core): stable empty-doc binding in new y/ collab stack
nperez0111 Sep 16, 2026
ba4e246
refactor(core): split y snapshot preview into codec + render modules
nperez0111 Sep 17, 2026
f96a8a6
refactor(core): drop yhub restore refresh delay, guard empty doc
nperez0111 Sep 17, 2026
1ce3379
refactor(core): rework Versioning list/preview sessions, add sub-modu…
nperez0111 Sep 17, 2026
44ffe1c
fix(core): flatten legacy anonymous text nodes when diffing snapshots
nperez0111 Sep 17, 2026
15ec810
test(e2e): refresh snapshots for pristine empty docs and trailing block
nperez0111 Sep 17, 2026
3c5ee8a
refactor(core): render version diffs without clearing the document
nperez0111 Sep 17, 2026
b29be57
refactor(versioning): derive loading state instead of storing it
nperez0111 Sep 17, 2026
ae21c0b
refactor(core): render version diffs via patched @y/prosemirror fragm…
nperez0111 Sep 17, 2026
bffcb7a
refactor(core): gate empty-doc sync via initialContentCompare instead…
nperez0111 Sep 18, 2026
32463db
fix(core): re-anchor initial-content gate when the empty skeleton is …
nperez0111 Sep 18, 2026
a38ba03
fix(tests): isPristineEmptyEditor ignores skeleton block ids
nperez0111 Sep 18, 2026
e2d5fbc
refactor(versioning): remove unused review leftovers and clarify refs
nperez0111 Sep 21, 2026
784de3a
fix(core): update YHub activity grouping API
nperez0111 Sep 21, 2026
46605aa
feat(versioning): refine sidebar skins and naming
nperez0111 Sep 21, 2026
32197f9
fix(core): reconcile version preview attribution
nperez0111 Sep 22, 2026
43e2f6f
Merge remote-tracking branch 'origin/feat/versioning-sidebar-ux-b' in…
nperez0111 Sep 22, 2026
2170aa7
Merge remote-tracking branch 'origin/main' into feat/versioning-sideb…
nperez0111 Sep 22, 2026
85734d9
fix: stabilize experimental yjs13 versioning
nperez0111 Sep 22, 2026
10082b8
docs(examples): restore unresolved suggestion feedback
nperez0111 Sep 22, 2026
206d4be
fix(examples): wire suggestion multi-editor mode
nperez0111 Sep 22, 2026
fa085bd
test(react): colocate browser UI tests
nperez0111 Sep 22, 2026
155d256
fix(versioning): localize version labels
nperez0111 Sep 22, 2026
616f23a
fix(versioning): keep sidebar menus visible
nperez0111 Sep 23, 2026
60a6a3a
Merge remote-tracking branch 'origin/main' into feat/versioning-sideb…
nperez0111 Sep 23, 2026
7db8d83
refactor(react): simplify attribution tooltip reference
nperez0111 Sep 23, 2026
57020b3
chore: remove y-prosemirror patch
nperez0111 Sep 23, 2026
ca3de6a
test: update concurrent formatting snapshot
nperez0111 Sep 23, 2026
12d669c
fix(react): forward client rects to floating references
nperez0111 Sep 23, 2026
bb83965
fix(collaboration): preserve sync across editor remounts
nperez0111 Sep 24, 2026
3ff2fa3
fix(versioning): keep in-memory checkpoint current until edit
nperez0111 Sep 24, 2026
0d62219
fix(versioning): theme externally portaled sidebar
nperez0111 Sep 24, 2026
33a4f5e
feat(versioning): support Yjs 13 snapshot restore
nperez0111 Sep 24, 2026
fc7fda1
fix(versioning): tolerate attribution fetch failures
nperez0111 Sep 25, 2026
6f08421
fix(core): remove unused loader selector
nperez0111 Sep 25, 2026
0a489b5
chore: upgrade @y/prosemirror and remove patch
nperez0111 Sep 25, 2026
5021fd0
Merge branch 'main' of github.com:TypeCellOS/BlockNote into feat/vers…
nperez0111 Sep 25, 2026
d3b9cf5
test: cover legacy Yjs document binding compatibility
nperez0111 Sep 25, 2026
0682856
chore: upgrade lib0 to 1.0.0-rc.33
nperez0111 Sep 25, 2026
2e8bf07
Merge branch 'add-legacy-yjs-doc-binding-test' into feat/versioning-s…
nperez0111 Sep 25, 2026
ce541df
chore(playground): remove y-prosemirror optimizer exclusion
nperez0111 Sep 25, 2026
07a833a
Remove compare since beginning version action
nperez0111 Sep 28, 2026
225d57c
Normalize version comparison order in sidebar
nperez0111 Sep 28, 2026
be2fcfb
Fix attribution tooltips for source-backed diff previews
nperez0111 Sep 28, 2026
019d1f1
chore: retrigger PR preview package build
nperez0111 Sep 28, 2026
6147acf
Merge main into versioning sidebar branch
nperez0111 Sep 28, 2026
47fe3fb
fix(math): update selected inline content styling (#2983)
matthewlipski Sep 28, 2026
f4d4991
feat: Down arrow in block without content at end of doc creates parag…
matthewlipski Sep 28, 2026
4c2828f
chore: update lib0 version
nperez0111 Sep 28, 2026
e1dc6bb
fix: `insertInlineContent` adding content after cursor (BLO-1356) (#3…
matthewlipski Sep 28, 2026
ce406d8
ci(deps): bump voidzero-dev/setup-vp from 1.20.0 to 1.21.1 (#3141)
dependabot[bot] Sep 29, 2026
d96013e
feat: Update backspace handling in nested blocks (BLO-1326) (#3124)
matthewlipski Sep 30, 2026
adbede8
chore: upgrade Yjs 13 and 14 dependencies
nperez0111 Sep 30, 2026
664aab7
chore(deps): update @y/prosemirror and lib0 prereleases
nperez0111 Oct 2, 2026
d87fd62
feat: use native YHub versions with typed metadata
nperez0111 Oct 2, 2026
cc63dad
fix: isolate version previews from undo history
nperez0111 Oct 2, 2026
e463df3
Merge remote-tracking branch 'origin/main' into feat/versioning-sideb…
nperez0111 Oct 2, 2026
154e925
Match multi-doc history sidebar to the example theme
nperez0111 Oct 2, 2026
326f1f6
fix: clean up REST thread store test editor
nperez0111 Oct 2, 2026
f833032
fix: handle version history fetch failures with typed results
nperez0111 Oct 5, 2026
fb29f1f
fix: use partial document fixture in suggestion gallery
nperez0111 Oct 5, 2026
f175543
chore: update suggestion gallery table issue statuses
nperez0111 Oct 5, 2026
89c1253
refactor(react): render sidebars into app layouts with RenderInPortal…
YousefED Oct 5, 2026
0708896
chore(examples): regenerate example data
YousefED Oct 5, 2026
12a81e6
Fix runtime extension lifecycle and Yjs fork state isolation
nperez0111 Oct 5, 2026
18ffca9
Fix version attribution tooltips and unnamed snapshot labels
nperez0111 Oct 5, 2026
ef4015d
Merge remote-tracking branch 'origin/feat/versioning-sidebar-ux-b' in…
nperez0111 Oct 5, 2026
6863e9a
refactor: simplify previewing of version history
nperez0111 Oct 5, 2026
9eb1b06
refactor(core): expose built-in extensions only through extensions en…
nperez0111 Oct 6, 2026
5c033cb
fix(build): refresh cached declarations and support custom-schema ver…
nperez0111 Oct 6, 2026
98eac12
refactor(versioning): distinguish backends and accept JSON history seeds
nperez0111 Oct 6, 2026
cd9808c
chore: lint
nperez0111 Oct 6, 2026
55c872a
feat(core): expose editor destroy event
nperez0111 Oct 6, 2026
01e7fdb
fix(core): enable undo and redo for Yjs v14 collaboration
nperez0111 Oct 6, 2026
c1e2f51
fix(versioning): format version dates with one locale-aware formatter
YousefED Oct 6, 2026
903b460
fix: keep version snapshot renames visible while saving
nperez0111 Oct 6, 2026
a2d830e
fix(core): retain menu helpers in root exports
nperez0111 Oct 6, 2026
8cfb79a
fix: allow version naming without switching comparison
nperez0111 Oct 6, 2026
58079f7
fix(core): preserve code and audio rendering in version comparisons
nperez0111 Oct 6, 2026
1c1be9f
fix(tests): refresh deleted code block baselines and Docker build
nperez0111 Oct 6, 2026
04fd335
fix(build): isolate package declaration writes
nperez0111 Oct 6, 2026
087ef08
fix(versioning): name only the kind of change in version diff tooltips
YousefED Oct 6, 2026
6514154
fix(versioning): handle provider failures and simplify sidebar actions
nperez0111 Oct 6, 2026
efae099
fix(versioning): use latest YHub checkpoint as current
nperez0111 Oct 6, 2026
045f94b
fix(core): render previews from the newer source in diffs and suggest…
YousefED Oct 6, 2026
ba40c2b
docs(core): flag plain content filtering for suggestion mode
nperez0111 Oct 6, 2026
7567884
Merge pull request #3157 from TypeCellOS/fix/preview-hidden-source-diff
nperez0111 Oct 6, 2026
cd6e9aa
fix(core): use ProseMirror history for Yjs v14 collaboration
nperez0111 Oct 6, 2026
bcd6a21
Merge remote-tracking branch 'origin/main' into feat/versioning-sideb…
nperez0111 Oct 6, 2026
b5c2ed3
fix(build): emit package declarations reliably
nperez0111 Oct 6, 2026
12432ac
fix(react): restore versioning build entry
nperez0111 Oct 6, 2026
27eb966
fix(versioning): restore immediate snapshot loading indicator
nperez0111 Oct 7, 2026
01823b0
fix: preserve versioning locks and clear failed sidebar actions
nperez0111 Oct 7, 2026
1febdd8
fix: clean up type-aware lint warnings
nperez0111 Oct 7, 2026
bdf3727
test(comments): stabilize reaction picker interactions
nperez0111 Oct 7, 2026
f3a2791
fix(versioning): address sidebar focus, comparison, and history bugs
nperez0111 Oct 7, 2026
574f30e
fix(versioning): exclude previews from undo history
nperez0111 Oct 7, 2026
ec5d6de
fix: refresh column resize state after document edits
nperez0111 Oct 7, 2026
3fa5dc5
feat: compare document versions from the beginning
nperez0111 Oct 7, 2026
f45af91
feat: add paginated version history
nperez0111 Oct 7, 2026
4a5308b
feat: load older versions on scroll
nperez0111 Oct 7, 2026
8d235ba
chore: remove unused versioning translations and redundant docs
nperez0111 Oct 7, 2026
23143cb
test(versioning): add tests for version diff attribution and nesting …
YousefED Oct 8, 2026
c5e9676
test(versioning): add tests for type changes and moves in version diffs
YousefED Oct 8, 2026
823efc1
fix: include first edits in version comparisons
nperez0111 Oct 8, 2026
d31c6b7
feat: support opt-in Yjs 13 version comparisons
nperez0111 Oct 8, 2026
08f303d
fix: compare in-memory versions against saved content
nperez0111 Oct 8, 2026
4125870
test(versioning): point the old-binding tests at #3173
YousefED Oct 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
run: vp run -r build

- name: Lint packages
run: vp lint
run: vp run lint

- name: Run unit tests
# Always execute tests: only build results are reusable across CI runs.
Expand Down
83 changes: 44 additions & 39 deletions docs/app/demo/_components/DemoEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import * as locales from "@blocknote/core/locales";
import { BlockNoteView } from "@blocknote/mantine";
import "@blocknote/mantine/style.css";
import {
BlockNoteViewEditor,
FloatingComposerController,
FloatingThreadController,
FormattingToolbar,
FormattingToolbarController,
RenderInPortalElement,
SuggestionMenuController,
ThreadsSidebar,
getDefaultReactSlashMenuItems,
Expand Down Expand Up @@ -198,6 +198,10 @@ function DemoEditorInner({
}
return window.innerWidth >= 768;
});
// The element in the layout that the comments sidebar is rendered into.
const [threadsElement, setThreadsElement] = useState<HTMLDivElement | null>(
null,
);

const { doc, provider } = useMemo(() => {
const doc = new Y.Doc();
Expand Down Expand Up @@ -404,47 +408,48 @@ function DemoEditorInner({
</div>

<div className="relative flex flex-1 overflow-hidden">
<BlockNoteView
editor={editor}
theme={resolvedTheme === "dark" ? "dark" : "light"}
className="min-h-full flex-1 overflow-hidden"
formattingToolbar={false}
slashMenu={false}
renderEditor={false}
comments={false}
>
<AIMenuController />
<FormattingToolbarWithAI />
<SuggestionMenuController
triggerCharacter={"/"}
getItems={getSlashMenuItems}
/>

<div className="flex h-full w-full">
<div className="relative flex-1 overflow-y-auto pr-4 pb-12 pl-4 transition-all duration-300 ease-in-out">
<div className="mx-auto min-h-full max-w-[800px] py-4">
<BlockNoteViewEditor />
</div>
<div className="relative flex-1 overflow-y-auto pr-4 pb-12 pl-4 transition-all duration-300 ease-in-out">
<div className="mx-auto min-h-full max-w-[800px] py-4">
<BlockNoteView
editor={editor}
theme={resolvedTheme === "dark" ? "dark" : "light"}
className="min-h-full"
formattingToolbar={false}
slashMenu={false}
comments={false}
>
<AIMenuController />
<FormattingToolbarWithAI />
<SuggestionMenuController
triggerCharacter={"/"}
getItems={getSlashMenuItems}
/>
<FloatingComposerController />
{!sidebarOpen && <FloatingThreadController />}
</div>

<div
className={`relative z-10 h-full overflow-y-auto bg-[#fbfbfb] transition-all duration-300 ease-in-out ${
sidebarOpen
? "w-[320px] translate-x-0 border-l border-stone-100 opacity-100"
: "w-0 translate-x-full overflow-hidden opacity-0"
}`}
>
<div className="sticky top-0 z-20 border-b border-stone-100 bg-white/50 p-4 text-xs font-bold tracking-wider text-stone-400 uppercase backdrop-blur-sm">
Comments
</div>
<div className="p-2">
<ThreadsSidebar filter="all" sort="recent-activity" />
</div>
</div>
{/* `ThreadsSidebar` needs the editor's context, so it's rendered
here, but `RenderInPortalElement` places it in the sidebar
panel next to the editor. */}
{threadsElement && (
<RenderInPortalElement>
<ThreadsSidebar filter="all" sort="recent-activity" />
</RenderInPortalElement>
)}
</BlockNoteView>
</div>
</BlockNoteView>
</div>

<div
className={`relative z-10 h-full overflow-y-auto bg-[#fbfbfb] transition-all duration-300 ease-in-out ${
sidebarOpen
? "w-[320px] translate-x-0 border-l border-stone-100 opacity-100"
: "w-0 translate-x-full overflow-hidden opacity-0"
}`}
>
<div className="sticky top-0 z-20 border-b border-stone-100 bg-white/50 p-4 text-xs font-bold tracking-wider text-stone-400 uppercase backdrop-blur-sm">
Comments
</div>
<div className="p-2" ref={setThreadsElement} />
</div>
</div>
</div>
);
Expand Down
4 changes: 2 additions & 2 deletions docs/content/docs/features/blocks/code-blocks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ That's all — see it in action in [this example](/examples/theming/code-block).

Under the hood, highlighting is split into two parts, which you can also wire up yourself for full control over the bundle:

- The `SyntaxHighlightingExtension` (from `@blocknote/core`) provides the highlighter — a [Shiki](https://shiki.style) instance with your choice of languages, themes, and engine:
- The `SyntaxHighlightingExtension` (from `@blocknote/core/extensions`) provides the highlighter — a [Shiki](https://shiki.style) instance with your choice of languages, themes, and engine:

```ts
type SyntaxHighlightingOptions = {
Expand Down Expand Up @@ -125,7 +125,7 @@ npx shiki-codegen --langs javascript,typescript,vue --themes light-plus,dark-plu
This generates a `shiki.bundle.ts` file that you use to create the extension — added to the editor exactly like the pre-configured one above, alongside a `createCodeBlockSpec` configured with your matching languages:

```ts
import { SyntaxHighlightingExtension } from "@blocknote/core";
import { SyntaxHighlightingExtension } from "@blocknote/core/extensions";
import { createHighlighter } from "./shiki.bundle.js";

const syntaxHighlighter = SyntaxHighlightingExtension({
Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/features/collaboration/comments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ BlockNote also offers a different way of viewing and interacting with comments,

<Example name="collaboration/comments-with-sidebar" />

The only requirement for `ThreadsSidebar` is that it should be placed somewhere within your `BlockNoteView`, other than that you can position and style it however you want.
The only requirement for `ThreadsSidebar` is that it should be placed somewhere within your `BlockNoteView`, other than that you can position and style it however you want. To show it elsewhere in your application's layout, use [`RenderInPortalElement`](/docs/react/components#placing-blocknote-ui-in-your-own-layout).

`ThreadsSidebar` also takes 2 props:

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/getting-started/vanilla-js.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Each UI element is backed by an [extension](/docs/features/extensions). You can
While it's up to you to decide how you want the elements to be rendered, the store lets you react to state changes so you can update the visibility, position, and contents of your elements:

```typescript
import { SideMenuExtension } from "@blocknote/core";
import { SideMenuExtension } from "@blocknote/core/extensions";

const extension = editor.getExtension(SideMenuExtension)!;

Expand Down
30 changes: 30 additions & 0 deletions docs/content/docs/react/components/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,33 @@ Keys mirror the default UI flags (`formattingToolbar`, `linkToolbar`, `slashMenu
The [mobile Formatting Toolbar](/docs/react/components/formatting-toolbar#mobile-formatting-toolbar) always portals to `document.body`, including its menus and popovers. It does not use the configured formatting-toolbar or default target.

When a target sits outside the editor's DOM (like `document.body`), BlockNote automatically renders a themed wrapper element inside it, so floating UI keeps the editor's styling and theming wherever it's portalled.

### Placing BlockNote UI in your own layout

Some components, like the [comments sidebar](/docs/features/collaboration/comments#sidebar-view), aren't floating but still need the editor's context, so they must be rendered inside `BlockNoteView`. To show one somewhere else in your application's layout, render it inside `BlockNoteView` wrapped in `RenderInPortalElement`, and pass the element it should appear in:

```tsx
function App() {
const editor = useCreateBlockNote(/* ... */);
// The element in your layout that the sidebar is rendered into.
const [sidebarElement, setSidebarElement] = useState<HTMLElement | null>(
null,
);

return (
<div className="my-layout">
<BlockNoteView editor={editor} comments={false}>
<FloatingComposerController />
{sidebarElement && (
<RenderInPortalElement>
<ThreadsSidebar />
</RenderInPortalElement>
)}
</BlockNoteView>
<aside ref={setSidebarElement} />
</div>
);
}
```

The children are rendered inside a themed wrapper element in `target`, so they keep the editor's styling, and focus inside them counts as focus within the editor.
11 changes: 6 additions & 5 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@
"@uppy/xhr-upload": "^3.4.0",
"@vercel/analytics": "^1.6.1",
"@y-sweet/react": "^0.6.3",
"@y/prosemirror": "^2.0.0-6",
"@y/prosemirror": "^2.0.0-14",
"@y/protocols": "^1.0.6-rc.1",
"@y/websocket": "^4.0.0-3",
"@y/y": "^14.0.0-rc.23",
"@y/y": "^14.0.0-rc.26",
"ai": "^6.0.5",
"better-auth": "~1.4.15",
"better-sqlite3": "^12.6.2",
Expand All @@ -89,7 +89,7 @@
"fumadocs-typescript": "^5.1.1",
"fumadocs-ui": "npm:@fumadocs/base-ui@16.5.0",
"katex": "^0.18.9",
"lib0": "^1.0.0-rc.34",
"lib0": "1.0.0-rc.36",
"lucide-react": "^0.562.0",
"mathjax-full": "^3.2.2",
"mermaid": "^11.0.0",
Expand All @@ -110,10 +110,11 @@
"typescript-5": "npm:typescript@^5.9.3",
"y-partykit": "^0.0.25",
"y-websocket": "^2.1.0",
"yjs": "^13.6.27",
"yjs": "^13.6.33",
"zod": "^4.3.5",
"@blocknote/xl-typst-exporter": "workspace:*",
"@blocknote/xl-typst-compiler": "workspace:*"
"@blocknote/xl-typst-compiler": "workspace:*",
"y-prosemirror": "^1.3.7"
},
"devDependencies": {
"@blocknote/code-block": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion examples/03-ui-components/18-drag-n-drop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The exclusion check works by traversing up the DOM tree from the drag event targ
### Import the constant:

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

### Apply it to your custom drag area:
Expand Down
7 changes: 2 additions & 5 deletions examples/04-theming/07-custom-code-block/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import {
BlockNoteSchema,
createCodeBlockSpec,
SyntaxHighlightingExtension,
} from "@blocknote/core";
import { BlockNoteSchema, createCodeBlockSpec } from "@blocknote/core";
import { SyntaxHighlightingExtension } from "@blocknote/core/extensions";
import "@blocknote/core/fonts/inter.css";
import { BlockNoteView } from "@blocknote/mantine";
import "@blocknote/mantine/style.css";
Expand Down
2 changes: 1 addition & 1 deletion examples/07-collaboration/01-partykit/.bnexample.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"tags": ["Advanced", "Saving/Loading", "Collaboration"],
"dependencies": {
"y-partykit": "^0.0.25",
"yjs": "^13.6.27"
"yjs": "^13.6.33"
}
}
2 changes: 1 addition & 1 deletion examples/07-collaboration/01-partykit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"react": "^19.2.3",
"react-dom": "^19.2.3",
"y-partykit": "^0.0.25",
"yjs": "^13.6.27"
"yjs": "^13.6.33"
},
"devDependencies": {
"@types/react": "^19.2.3",
Expand Down
2 changes: 1 addition & 1 deletion examples/07-collaboration/02-liveblocks/.bnexample.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"@liveblocks/react-blocknote": "^3.19.5",
"@liveblocks/react-tiptap": "^3.19.5",
"@liveblocks/react-ui": "^3.19.5",
"yjs": "^13.6.27"
"yjs": "^13.6.33"
}
}
2 changes: 1 addition & 1 deletion examples/07-collaboration/02-liveblocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@liveblocks/react-blocknote": "^3.19.5",
"@liveblocks/react-tiptap": "^3.19.5",
"@liveblocks/react-ui": "^3.19.5",
"yjs": "^13.6.27"
"yjs": "^13.6.33"
},
"devDependencies": {
"@types/react": "^19.2.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"tags": ["Advanced", "Comments", "Collaboration"],
"dependencies": {
"y-partykit": "^0.0.25",
"yjs": "^13.6.27",
"yjs": "^13.6.33",
"@mantine/core": "^9.0.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"react": "^19.2.3",
"react-dom": "^19.2.3",
"y-partykit": "^0.0.25",
"yjs": "^13.6.27"
"yjs": "^13.6.33"
},
"devDependencies": {
"@types/react": "^19.2.3",
Expand Down
Loading
Loading