Skip to content

Commit f585d79

Browse files
committed
chore: fixup some generated files
1 parent a33541e commit f585d79

5 files changed

Lines changed: 21 additions & 125 deletions

File tree

examples/01-basic/17-no-trailing-block/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
"@blocknote/mantine": "latest",
1717
"@blocknote/react": "latest",
1818
"@blocknote/shadcn": "latest",
19-
"@mantine/core": "^8.3.11",
20-
"@mantine/hooks": "^8.3.11",
21-
"@mantine/utils": "^6.0.22",
19+
"@mantine/core": "^9.0.2",
20+
"@mantine/hooks": "^9.0.2",
2221
"react": "^19.2.3",
2322
"react-dom": "^19.2.3"
2423
},

examples/03-ui-components/20-portal-elements/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<head>
33
<meta charset="UTF-8" />
44
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
5-
<title>Configuring Portal Targets per Element</title>
5+
<title>Configuring Portal Targets</title>
66
<script>
77
<!-- AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY -->
88
</script>

playground/src/examples.gen.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -907,12 +907,12 @@
907907
"Advanced"
908908
]
909909
},
910-
"title": "Configuring Portal Targets per Element",
910+
"title": "Configuring Portal Targets",
911911
"group": {
912912
"pathFromRoot": "examples/03-ui-components",
913913
"slug": "ui-components"
914914
},
915-
"readme": "By default, BlockNote's floating UI elements (formatting toolbar, slash menu, table handles, etc.) mount inside the editor's `bn-container` element. The `portalElements` prop lets you change that — globally via `default`, or per element by key.\n\nIn this example we deliberately wrap the editor in a small parent with `overflow: hidden` so the global default of `bn-container` would clip the slash menu and the formatting toolbar. We escape only those two to `document.body`, while keeping `tableHandles` inside `.bn-container` so the table handles can never escape the editor's visual boundary.\n\n```tsx\n<BlockNoteView\n editor={editor}\n portalElements={{\n slashMenu: document.body,\n formattingToolbar: document.body,\n tableHandles: \".bn-container\",\n }}\n/>\n```\n\n**Relevant Docs:**\n\n- [UI Components](/docs/react/components)"
915+
"readme": "By default, BlockNote's floating UI elements (formatting toolbar, slash menu, table handles, etc.) mount inside the editor's `bn-container`. The `portalElements` prop on `BlockNoteView` lets you change that — globally via `default`, or per element by key.\n\nThis example renders two editors side-by-side, both wrapped in a small `overflow: hidden` container. The left editor uses the default — the slash menu is clipped by the editor's bounds. The right editor passes `portalElements={{ default: document.body }}` so floating UI escapes the wrapper and renders fully.\n\n```tsx\n<BlockNoteView\n editor={editor}\n portalElements={{ default: document.body }}\n/>\n```\n\n**Relevant Docs:**\n\n- [UI Components](/docs/react/components)"
916916
}
917917
]
918918
},

pnpm-lock.yaml

Lines changed: 12 additions & 115 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/nextjs-test-app/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"private": true,
44
"version": "0.0.0",
55
"dependencies": {
6-
"@blocknote/core": "file:.tarballs/blocknote-core-0.49.0.tgz",
7-
"@blocknote/mantine": "file:.tarballs/blocknote-mantine-0.49.0.tgz",
8-
"@blocknote/react": "file:.tarballs/blocknote-react-0.49.0.tgz",
9-
"@blocknote/server-util": "file:.tarballs/blocknote-server-util-0.49.0.tgz",
6+
"@blocknote/core": "file:.tarballs/blocknote-core-0.50.0.tgz",
7+
"@blocknote/mantine": "file:.tarballs/blocknote-mantine-0.50.0.tgz",
8+
"@blocknote/react": "file:.tarballs/blocknote-react-0.50.0.tgz",
9+
"@blocknote/server-util": "file:.tarballs/blocknote-server-util-0.50.0.tgz",
1010
"@mantine/core": "^9.0.2",
1111
"@mantine/hooks": "^9.0.2",
1212
"next": "^16.0.0",

0 commit comments

Comments
 (0)