Commit a40b2ea
authored
feat: Argument to select moved block in
* Added decoration to `TrailingNodeExtension` to hide trailing block when editor is read-only
* Added optional argument to `moveBlocksUp/Down` to select block to move + tests
* Updated docs
* Revert "Added decoration to `TrailingNodeExtension` to hide trailing block when editor is read-only"
This reverts commit 086beeb.
* Added edge case handling + tests for columns
* Updated testsmoveBlocksUp/Down (BLO-907) (#2723)1 parent 447d9af commit a40b2ea
8 files changed
Lines changed: 4836 additions & 384 deletions
File tree
- docs/content/docs/reference/editor
- packages
- core/src
- api/blockManipulation/commands/moveBlocks
- __snapshots__
- editor
- managers
- xl-multi-column/src/test/commands
- __snapshots__
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
256 | | - | |
| 255 | + | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
260 | 262 | | |
261 | 263 | | |
262 | 264 | | |
263 | 265 | | |
264 | 266 | | |
265 | 267 | | |
266 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
267 | 275 | | |
268 | 276 | | |
269 | 277 | | |
| |||
0 commit comments