@udecode/plate-code-block
Advanced tools
Comparing version 33.0.2 to 34.0.0
@@ -635,2 +635,4 @@ "use strict"; | ||
const [, codeBlockPath] = codeBlock; | ||
if ((0, import_server16.isSelectionAtBlockEnd)(editor) && (0, import_server16.isSelectionAtBlockStart)(editor)) | ||
return; | ||
(0, import_server16.select)(editor, codeBlockPath); | ||
@@ -637,0 +639,0 @@ e.preventDefault(); |
{ | ||
"name": "@udecode/plate-code-block", | ||
"version": "33.0.2", | ||
"version": "34.0.0", | ||
"description": "Code block plugin for Plate", | ||
@@ -59,3 +59,3 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@udecode/plate-common": ">=33.0.0", | ||
"@udecode/plate-common": ">=34.0.0", | ||
"react": ">=16.8.0", | ||
@@ -62,0 +62,0 @@ "react-dom": ">=16.8.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
166639
1900