Commit 0692991
committed
feat: example uiLib selection, docs dep-conflict guard, playground dep pruning
Each example now declares a single BlockNote UI library via the uiLib field
in .bnexample.json (mantine default); the generator no longer injects all
UI packages into every example. genDocs fails loudly when two docs-embedded
examples declare incompatible ranges of the same package, and the yjs13
versioning example drops its direct lib0 dependency to resolve the one live
conflict. Playground's unused third-party dependency mirrors are removed
(katex and @react-pdf/math stay: its build-mode vite aliases resolve them
from playground's node_modules).1 parent ab2a59d commit 0692991
117 files changed
Lines changed: 356 additions & 1217 deletions
File tree
- .claude/skills/create-example
- docs/lib/source
- examples
- 01-basic
- 01-minimal
- 02-block-objects
- 03-multi-column
- 04-default-blocks
- 05-removing-default-blocks
- 06-block-manipulation
- 07-selection-blocks
- 08-ariakit
- 09-shadcn
- 10-localization
- 11-custom-placeholder
- 12-multi-editor
- 13-custom-paste-handler
- 14-editor-scrollable
- 15-shadowdom
- 16-read-only-editor
- 17-no-trailing-block
- testing
- 02-backend
- 01-file-uploading
- 02-saving-loading
- 03-s3
- 04-rendering-static-documents
- 03-ui-components
- 01-ui-elements-remove
- 02-formatting-toolbar-buttons
- 03-formatting-toolbar-block-type-items
- 11-uppy-file-panel
- 12-static-formatting-toolbar
- 13-custom-ui
- 14-experimental-mobile-formatting-toolbar
- 15-advanced-tables
- 16-link-toolbar-buttons
- 17-advanced-tables-2
- 18-drag-n-drop
- 20-portal-elements
- 04-theming
- 01-theming-dom-attributes
- 02-changing-font
- 03-theming-css
- 04-theming-css-variables
- 05-theming-css-variables-code
- 06-code-block
- 07-custom-code-block
- 05-interoperability
- 01-converting-blocks-to-html
- 02-converting-blocks-from-html
- 03-converting-blocks-to-md
- 04-converting-blocks-from-md
- 05-converting-blocks-to-pdf
- 06-converting-blocks-to-docx
- 07-converting-blocks-to-odt
- 08-converting-blocks-to-react-email
- 09-blocks-to-html-static-render
- 10-static-html-render
- 06-custom-schema
- 01-alert-block
- 03-font-style
- 04-pdf-file-block
- 05-alert-block-full-ux
- 06-toggleable-blocks
- 07-configuring-blocks
- 08-non-editable-block
- 09-math-block
- 10-diagram-block
- 11-source-with-preview
- draggable-inline-content
- react-custom-blocks
- react-custom-inline-content
- react-custom-styles
- 07-collaboration
- 01-partykit
- 02-liveblocks
- 03-y-sweet
- 04-electric-sql
- 05-comments
- 06-comments-with-sidebar
- 07-ghost-writer
- 08-forking
- 09-comments-testing
- 10-suggestion-multi-editor
- 11-versioning-yjs13
- src
- 12-multi-doc-versioning
- 13-versioning-yjs14
- 14-suggestion-gallery
- 08-extensions
- 01-tiptap-arrow-conversion
- 02-versioning
- 09-ai
- 01-minimal
- 02-playground
- 04-with-collaboration
- 05-manual-execution
- 06-client-side-transport
- 07-server-persistence
- vanilla-js
- react-vanilla-custom-blocks
- react-vanilla-custom-inline-content
- react-vanilla-custom-styles
- packages/dev-scripts/examples
- template-react
- playground
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
57 | 62 | | |
58 | 63 | | |
59 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
21 | 28 | | |
22 | 29 | | |
23 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | | - | |
17 | 15 | | |
18 | | - | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | | - | |
17 | 15 | | |
18 | | - | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | | - | |
17 | 15 | | |
18 | | - | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | | - | |
17 | 15 | | |
18 | | - | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | | - | |
17 | 15 | | |
18 | | - | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | | - | |
17 | 15 | | |
18 | | - | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | | - | |
17 | 15 | | |
18 | | - | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
0 commit comments