prosemirror-flat-list
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -1100,3 +1100,3 @@ // src/commands/dedent-list.ts | ||
} | ||
if (rangeAllowInlineContent(range) && isListNode(range.parent) && range.depth > 0) { | ||
if (rangeAllowInlineContent(range) && isListNode(range.parent) && range.depth > 0 && range.startIndex === 0) { | ||
range = new NodeRange6($from, $to, range.depth - 1); | ||
@@ -1103,0 +1103,0 @@ } |
@@ -1100,3 +1100,3 @@ // src/commands/dedent-list.ts | ||
} | ||
if (rangeAllowInlineContent(range) && isListNode(range.parent) && range.depth > 0) { | ||
if (rangeAllowInlineContent(range) && isListNode(range.parent) && range.depth > 0 && range.startIndex === 0) { | ||
range = new NodeRange6($from, $to, range.depth - 1); | ||
@@ -1103,0 +1103,0 @@ } |
{ | ||
"name": "prosemirror-flat-list", | ||
"type": "module", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Powerful list support for ProseMirror", | ||
@@ -6,0 +6,0 @@ "author": "ocavue <ocavue@gmail.com>", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
155251