@mdxeditor/editor
Advanced tools
Comparing version 0.17.0 to 0.17.1
@@ -111,3 +111,8 @@ var __defProp = Object.defineProperty; | ||
deleteRowAt(rowIndex) { | ||
this.getWritable().__mdastNode.children.splice(rowIndex, 1); | ||
if (this.getRowCount() === 1) { | ||
this.selectNext(); | ||
this.remove(); | ||
} else { | ||
this.getWritable().__mdastNode.children.splice(rowIndex, 1); | ||
} | ||
} | ||
@@ -114,0 +119,0 @@ addRowToBottom() { |
@@ -12,3 +12,3 @@ { | ||
"type": "module", | ||
"version": "0.17.0", | ||
"version": "0.17.1", | ||
"description": "React component for rich text markdown editing", | ||
@@ -15,0 +15,0 @@ "scripts": { |
965918
20657