Commit f28cdc2
feat: move all blocks to use the custom blocks API (#1904)
Co-authored-by: Matthew Lipski <[email protected]>
Co-authored-by: Matthew Lipski <[email protected]>1 parent 43bf109 commit f28cdc2
File tree
458 files changed
+10623
-8162
lines changed- docs
- content/docs/features
- blocks
- custom-schemas
- examples
- 03-ui-components
- 03-formatting-toolbar-block-type-items/src
- 11-uppy-file-panel/src
- 13-custom-ui/src
- 04-theming
- 06-code-block
- src
- 07-custom-code-block
- src
- 05-interoperability
- 05-converting-blocks-to-pdf/src
- 06-converting-blocks-to-docx/src
- 07-converting-blocks-to-odt/src
- 06-custom-schema
- 01-alert-block/src
- 04-pdf-file-block/src
- 05-alert-block-full-ux/src
- 06-toggleable-blocks/src
- draggable-inline-content/src
- react-custom-blocks/src
- vanilla-js/react-vanilla-custom-blocks/src
- packages
- code-block
- src
- core
- src
- api
- blockManipulation/commands
- insertBlocks
- replaceBlocks
- splitBlock
- clipboard
- fromClipboard
- toClipboard
- exporters/html/util
- blocks
- AudioBlockContent
- Audio
- CodeBlockContent
- Code
- FileBlockContent
- File
- helpers
- parse
- render
- toExternalHTML
- HeadingBlockContent
- Heading
- ImageBlockContent
- Image
- ListItemBlockContent
- BulletListItemBlockContent
- CheckListItemBlockContent
- NumberedListItemBlockContent
- ToggleListItemBlockContent
- ListItem
- BulletListItem
- CheckListItem
- NumberedListItem
- ToggleListItem
- PageBreakBlockContent
- PageBreak
- ParagraphBlockContent
- Paragraph
- QuoteBlockContent
- Quote
- Table
- ToggleWrapper
- VideoBlockContent
- Video
- utils
- editor
- exporter
- extensions
- BackgroundColor
- BlockChange
- Collaboration
- __snapshots__
- schemaMigration
- migrationRules
- Comments
- FilePanel
- KeyboardShortcuts
- PreviousBlockType
- SuggestionMenu
- TableHandles
- TextAlignment
- TextColor
- UniqueID
- schema
- blocks
- inlineContent
- styles
- util
- react/src
- blocks
- Audio
- FileBlockContent
- File
- helpers
- render
- toExternalHTML
- Image
- PageBreak
- Video
- components
- Comments
- FilePanel/DefaultTabs
- FormattingToolbar/DefaultButtons
- SideMenu
- DragHandleMenu/DefaultItems
- hooks
- schema
- server-util/src/context
- __snapshots__
- react
- xl-ai/src
- api/schema
- __snapshots__
- prosemirror/__snapshots__
- testUtil/cases/schemas
- xl-docx-exporter
- src/docx
- defaultSchema
- xl-email-exporter/src/react-email
- defaultSchema
- xl-multi-column/src
- blocks
- Columns
- pm-nodes
- test
- conversions/__snapshots__
- xl-odt-exporter/src/odt
- defaultSchema
- xl-pdf-exporter/src/pdf
- defaultSchema
- playground/src
- tests/src
- end-to-end
- copypaste/copypaste.test.ts-snapshots
- customblocks
- customblocks.test.ts-snapshots
- dragdrop/dragdrop.test.ts-snapshots
- draghandle/draghandle.test.ts-snapshots
- images/images.test.ts-snapshots
- indentation/indentation.test.ts-snapshots
- keyboardhandlers/keyboardhandlers.test.ts-snapshots
- tables/tables.test.ts-snapshots
- unit
- core
- clipboard/copy/__snapshots__/text/html
- formatConversion
- exportParseEquality
- export
- __snapshots__
- blocknoteHTML
- codeBlock
- complex
- image
- inlineContent
- lists
- pageBreak
- paragraph
- html
- codeBlock
- complex
- image
- inlineContent
- lists
- paragraph
- markdown
- image
- inlineContent
- nodes
- codeBlock
- complex
- file
- hardbreak
- image
- inlineContent
- link
- lists
- malformed
- pageBreak
- paragraph
- table
- parse
- __snapshots__/html
- selection
- getSelection/__snapshots__
- cutBlocks
- regular
- incrementSelection/__snapshots__
- end
- start
- react
- formatConversion/export/__snapshots__
- blocknoteHTML
- customParagraph
- mention
- reactImage
- simpleCustomParagraph
- tag
- html
- customParagraph
- mention
- reactImage
- simpleCustomParagraph
- tag
- utils
- customblocks
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
458 files changed
+10623
-8162
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
67 | | - | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
78 | | - | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
82 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
86 | 90 | | |
87 | 91 | | |
88 | 92 | | |
| 93 | + | |
| 94 | + | |
89 | 95 | | |
90 | 96 | | |
91 | | - | |
| 97 | + | |
92 | 98 | | |
93 | 99 | | |
94 | 100 | | |
| |||
109 | 115 | | |
110 | 116 | | |
111 | 117 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
119 | 127 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
127 | 135 | | |
128 | 136 | | |
129 | 137 | | |
| |||
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
| |||
100 | 99 | | |
101 | 100 | | |
102 | 101 | | |
103 | | - | |
104 | | - | |
105 | 102 | | |
106 | 103 | | |
107 | 104 | | |
108 | 105 | | |
109 | 106 | | |
110 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
Lines changed: 20 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
270 | | - | |
271 | | - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
272 | 276 | | |
273 | 277 | | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
281 | 287 | | |
282 | 288 | | |
283 | 289 | | |
| |||
297 | 303 | | |
298 | 304 | | |
299 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
300 | 310 | | |
301 | 311 | | |
302 | 312 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | | - | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 5 | + | |
45 | 6 | | |
46 | 7 | | |
47 | 8 | | |
48 | 9 | | |
49 | 10 | | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | | - | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
0 commit comments