mirror of https://github.com/fantasticit/think.git
close #231
This commit is contained in:
parent
4d505de16e
commit
4eca312322
|
@ -22,7 +22,9 @@ function fixNode(doc) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (node.type === 'tableRow') {
|
if (node.type === 'tableRow') {
|
||||||
node.content = (node.content || []).filter((subNode) => subNode.type === 'tableCell');
|
node.content = (node.content || []).filter(
|
||||||
|
(subNode) => subNode.type === 'tableCell' || subNode.type === 'tableHeader'
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (node.type === 'tableCell') {
|
if (node.type === 'tableCell') {
|
||||||
|
|
Loading…
Reference in New Issue