After merging two cells in a table, it looks like the merged cell retains the node size of the left or right cell instead of having a node size of both cells or at least bigger than one of the cells. This is causing problems when we try to use setNodeMarkup to style the merged cell. Am I thinking correctly?
It doesn’t look like mergedCell’s node size is updated in the mergeCell function https://github.com/ProseMirror/prosemirror-tables/blob/master/src/commands.js/#L239-L273
setNodeMarkup is designed to create a node when there’s no node where it thinks there should be a node. prosemirror/structure.js at b04565c9ed1b6fdfa575ff7a989fbc73257f2161 · ProseMirror/prosemirror · GitHub So it ends up creating a table cell and now the table cells are no longer merged. If this is true, how do I overcome it?