@tiptap/extension-table 2.0.0-beta.29 → 2.0.0-beta.32

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.
@@ -4150,7 +4150,10 @@ function coveredDepths($from, $to) {
4150
4150
  $to.end(d) > $to.pos + ($to.depth - d) ||
4151
4151
  $from.node(d).type.spec.isolating ||
4152
4152
  $to.node(d).type.spec.isolating) { break }
4153
- if (start == $to.start(d)) { result.push(d); }
4153
+ if (start == $to.start(d) ||
4154
+ (d == $from.depth && d == $to.depth && $from.parent.inlineContent && $to.parent.inlineContent &&
4155
+ d && $to.start(d - 1) == start - 1))
4156
+ { result.push(d); }
4154
4157
  }
4155
4158
  return result
4156
4159
  }
@@ -5447,5 +5450,5 @@ const Table = core.Node.create({
5447
5450
 
5448
5451
  exports.Table = Table;
5449
5452
  exports.createTable = createTable;
5450
- exports['default'] = Table;
5453
+ exports["default"] = Table;
5451
5454
  //# sourceMappingURL=tiptap-extension-table.cjs.js.map