Commit 447d9af
authored
feat: Trailing block extension rewrite (#2733)
* Made trailing block extension create trailing block as decoration instead of actual node, udpated tests & examples
* Updated snapshots
* Updated e2e test snapshots
* Removed `pause` statements
* Updated e2e test snapshots
* Fixed lint
* Updated e2e snapshots
* Revert Playwright config
* Updated e2e screenshots
* Updated static renderig e2e snapshots with masked captions
* Replaced ProseMirror API with BlockNote API in decoration
* Reverted mask, made trailing block hidden when taking screenshot of live editor
* Made trailing block decoration not show when editor is not editable
* Updated editor option description1 parent 41b9151 commit 447d9af
276 files changed
Lines changed: 407 additions & 4030 deletions
File tree
- examples
- 01-basic
- 02-block-objects/src
- 03-multi-column/src
- 04-default-blocks/src
- 07-selection-blocks/src
- 12-multi-editor/src
- 16-read-only-editor/src
- 02-backend
- 01-file-uploading/src
- 03-s3/src
- 03-ui-components
- 01-ui-elements-remove/src
- 02-formatting-toolbar-buttons/src
- 03-formatting-toolbar-block-type-items/src
- 11-uppy-file-panel/src
- 12-static-formatting-toolbar/src
- 13-custom-ui/src
- 14-experimental-mobile-formatting-toolbar/src
- 16-link-toolbar-buttons/src
- 04-theming
- 01-theming-dom-attributes/src
- 02-changing-font/src
- 03-theming-css/src
- 04-theming-css-variables/src
- 05-theming-css-variables-code/src
- 06-code-block/src
- 07-custom-code-block/src
- 05-interoperability
- 09-blocks-to-html-static-render/src
- 10-static-html-render/src
- 06-custom-schema
- 01-alert-block/src
- 03-font-style/src
- 04-pdf-file-block/src
- 05-alert-block-full-ux/src
- 06-toggleable-blocks/src
- 07-configuring-blocks/src
- 08-non-editable-block/src
- packages
- core/src
- api/blockManipulation
- commands
- insertBlocks/__snapshots__
- mergeBlocks/__snapshots__
- moveBlocks
- __snapshots__
- nestBlock/__snapshots__
- replaceBlocks/__snapshots__
- splitBlock/__snapshots__
- updateBlock/__snapshots__
- editor
- extensions
- Collaboration/__snapshots__
- TrailingNode
- xl-multi-column/src/test
- commands/__snapshots__
- tests/src
- end-to-end
- ariakit/ariakit.test.ts-snapshots
- colors
- copypaste
- copypaste.test.ts-snapshots
- customblocks/customblocks.test.ts-snapshots
- dragdrop
- dragdrop.test.ts-snapshots
- draghandle
- draghandle.test.ts-snapshots
- emojipicker
- images/images.test.ts-snapshots
- indentation
- indentation.test.ts-snapshots
- keyboardhandlers
- keyboardhandlers.test.ts-snapshots
- multicolumn
- multicolumn.test.ts-snapshots
- shadcn/shadcn.test.ts-snapshots
- static
- static.test.ts-snapshots
- tables/tables.test.ts-snapshots
- textalignment
- theming/theming.test.ts-snapshots
- utils
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 | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 29 | | |
33 | 30 | | |
34 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 93 | | |
97 | 94 | | |
98 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | 148 | | |
152 | 149 | | |
153 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
| |||
51 | 48 | | |
52 | 49 | | |
53 | 50 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 51 | | |
58 | 52 | | |
59 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | 148 | | |
152 | 149 | | |
153 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 36 | | |
40 | 37 | | |
41 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 84 | | |
88 | 85 | | |
89 | 86 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | 107 | | |
111 | 108 | | |
112 | 109 | | |
| |||
0 commit comments