Skip to content
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
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
22 changes: 22 additions & 0 deletions examples/01-basic/19-kitchen-sink/.bnexample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"playground": true,
"docs": false,
"author": "BlockNote",
"tags": ["Testing", "Collaboration"],
"pro": true,
"dependencies": {
"@blocknote/code-block": "latest",
"@blocknote/math-block": "latest",
"@blocknote/diagram-block": "latest",
"@blocknote/xl-multi-column": "latest",
"@blocknote/xl-pdf-exporter": "latest",
"@blocknote/xl-typst-compiler": "latest",
"@y/prosemirror": "^2.0.0-15",
"@y/protocols": "^1.0.6-rc.1",
"@y/websocket": "^4.0.0-3",
"@y/y": "^14.0.0-rc.26"
},
"devDependencies": {
"typescript": "^7.0.2"
}
}
4 changes: 4 additions & 0 deletions examples/01-basic/19-kitchen-sink/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Kitchen sink

This example brings together BlockNote's blocks, text markup, math, diagrams, tables, and columns for manual testing.
Use the sidebar to switch documents, change appearance, download PDFs, or open the same room URL in another browser or device to try collaborative editing and floating comments through YHub.
17 changes: 17 additions & 0 deletions examples/01-basic/19-kitchen-sink/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, interactive-widget=resizes-content"
/>
<title>Kitchen sink</title>
<script>
<!-- AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY -->
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="./main.tsx"></script>
</body>
</html>
11 changes: 11 additions & 0 deletions examples/01-basic/19-kitchen-sink/main.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY
import React from "react";
import { createRoot } from "react-dom/client";
import App from "./src/App.jsx";

const root = createRoot(document.getElementById("root")!);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>,
);
39 changes: 39 additions & 0 deletions examples/01-basic/19-kitchen-sink/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "@blocknote/example-basic-kitchen-sink",
"description": "AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY",
"type": "module",
"private": true,
"version": "0.12.4",
"scripts": {
"start": "vite",
"dev": "vite",
"build:prod": "tsc && vite build",
"preview": "vite preview"
},
"dependencies": {
"@blocknote/core": "latest",
"@blocknote/mantine": "latest",
"@blocknote/react": "latest",
"@mantine/core": "^9.0.2",
"@mantine/hooks": "^9.0.2",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"@blocknote/code-block": "latest",
"@blocknote/math-block": "latest",
"@blocknote/diagram-block": "latest",
"@blocknote/xl-multi-column": "latest",
"@blocknote/xl-pdf-exporter": "latest",
"@blocknote/xl-typst-compiler": "latest",
"@y/prosemirror": "^2.0.0-15",
"@y/protocols": "^1.0.6-rc.1",
"@y/websocket": "^4.0.0-3",
"@y/y": "^14.0.0-rc.26"
},
"devDependencies": {
"@types/react": "^19.2.3",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"vite": "^8.0.0",
"typescript": "^7.0.2"
}
}
Loading
Loading