Open ArthurWD opened 8 months ago
Widgets in a table are not rendered
Steps to reproduce the behavior:
Widget should remain
I fixed it by editting apps/editor/src/convertors/toWysiwyg/toWwConvertors.ts. I've changed hasParaNode in tableCell to the following which works for me, but I'm not sure if it works in all cases:
apps/editor/src/convertors/toWysiwyg/toWwConvertors.ts
hasParaNode
tableCell
const hasParaNode = (childNode: MdNode | null) => childNode && (isInlineNode(childNode) || isCustomInline(childNode) || isCustomHTMLInlineNode(state, childNode));
Describe the bug
Widgets in a table are not rendered
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Widget should remain
Additional context
I fixed it by editting
apps/editor/src/convertors/toWysiwyg/toWwConvertors.ts
. I've changedhasParaNode
intableCell
to the following which works for me, but I'm not sure if it works in all cases: