feat(SW-200): Fixed image sizes for RTE

This commit is contained in:
Erik Tiekstra
2024-11-12 14:34:19 +01:00
parent 0a35243d88
commit 92ad7192b1
3 changed files with 30 additions and 24 deletions

View File

@@ -113,6 +113,7 @@ export function nodeToHtml(
if ("type" in node === false) {
return textNodeToHtml(node, fullRenderOptions)
} else {
console.log({ NODE: node, EMBEDS: embeds })
if (fullRenderOptions[node.type] !== undefined) {
if (node.type === RTETypeEnum.doc) {
return null