Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
17 changes: 17 additions & 0 deletions examples/01-basic/19-kitchen-sink/.bnexample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"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",
"yjs": "^13.6.33",
"y-protocols": "^1.0.6"
}
}
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, preview PDF exports, or open another tab in the same browser to try collaborative editing and floating comments.
Comment thread
matthewlipski marked this conversation as resolved.
Resolved
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>,
);
36 changes: 36 additions & 0 deletions examples/01-basic/19-kitchen-sink/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"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",
"yjs": "^13.6.33",
"y-protocols": "^1.0.6"
},
"devDependencies": {
"@types/react": "^19.2.3",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"vite": "^8.0.0"
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
}
}
Loading
Loading