@kaitify/vue 0.0.4-beta.18 → 0.0.4-beta.19

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.
@@ -36002,7 +36002,12 @@ const TableExtension = () => Extension.create({
36002
36002
  const rows = nodes.filter((item) => item.isMatch({ tag: "tr" })).map((item) => {
36003
36003
  item.parent = tbody;
36004
36004
  if (item.hasChildren()) {
36005
- item.children = item.children.filter((it) => it.isMatch({ tag: "td" }) || it.isMatch({ tag: "th" }));
36005
+ item.children = item.children.map((it) => {
36006
+ if (!it.isMatch({ tag: "td" }) && !it.isMatch({ tag: "th" })) {
36007
+ it.toEmpty();
36008
+ }
36009
+ return it;
36010
+ });
36006
36011
  }
36007
36012
  return item;
36008
36013
  });