@semiont/react-ui 0.5.14 → 0.5.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -25970,7 +25970,7 @@ var deleteMarkupBackward = ({ state, dispatch }) => {
25970
25970
  if (pos - line.from == spaceEnd && // Only apply this if we're on the line that has the
25971
25971
  // construct's syntax, or there's only indentation in the
25972
25972
  // target range
25973
- (!inner.item || line.from <= inner.item.from || !/\S/.test(line.text.slice(0, inner.to)))) {
25973
+ (inner.item && line.from <= inner.item.from || /^[\s>]*$/.test(line.text.slice(0, inner.to)))) {
25974
25974
  let start = line.from + inner.from;
25975
25975
  if (inner.item && inner.node.from < inner.item.from && /\S/.test(line.text.slice(inner.from, inner.to))) {
25976
25976
  let insert2 = inner.blank(countColumn(line.text, 4, inner.to) - countColumn(line.text, 4, inner.from));