Fantastic ![]()
This works:
this.doc.descendants((node, pos) => {
if (node.type.name === "table_cell" && node.attrs.background) {
tr.setNodeMarkup(pos, null, setAttr(node.attrs, "background", null))
}
})
Fantastic ![]()
This works:
this.doc.descendants((node, pos) => {
if (node.type.name === "table_cell" && node.attrs.background) {
tr.setNodeMarkup(pos, null, setAttr(node.attrs, "background", null))
}
})