You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(shortcuts): convert block by tools shortcut (codex-team#2419)
* feat(conversion): allow to convert block using shortcut
* display shortcuts in conversion toolbar
* tests for the blocks.convert
* tests for the toolbox shortcuts
* Update CHANGELOG.md
* Update toolbox.cy.ts
* rm unused imports
* firefox test fixed
* test errors via to.throw
Copy file name to clipboardExpand all lines: docs/CHANGELOG.md
+3
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,12 @@
3
3
### 2.28.0
4
4
5
5
-`New` - Block ids now displayed in DOM via a data-id attribute. Could be useful for plugins that want access a Block's element by id.
6
+
-`New` - The `.convert(blockId, newType)` API method added
6
7
-`Improvement` - The Delete keydown at the end of the Block will now work opposite a Backspace at the start. Next Block will be removed (if empty) or merged with the current one.
7
8
-`Improvement` - The Delete keydown will work like a Backspace when several Blocks are selected.
8
9
-`Improvement` - If we have two empty Blocks, and press Backspace at the start of the second one, the previous will be removed instead of current.
10
+
-`Improvement` - Tools shortcuts could be used to convert one Block to another.
11
+
-`Improvement` - Tools shortcuts displayed in the Conversion Toolbar
thrownewError(`Conversion from "${blockToConvert.name}" to "${newType}" is not possible. ${unsupportedBlockTypes} tool(s) should provide a "conversionConfig"`);
0 commit comments