feat: artifacts

This commit is contained in:
2026-03-16 15:25:22 +01:00
parent 9f56b728c0
commit 9d38b1df2b
8 changed files with 275 additions and 47 deletions

View File

@@ -302,6 +302,7 @@ export function useRenderingNodeState(
label: id,
type: isSvgContent ? 'image' : 'html',
content: cached,
updatedAt: Date.now(),
})
return
}
@@ -366,6 +367,7 @@ export function useRenderingNodeState(
label: id,
type: cacheType,
content: htmlOrSvg ?? '',
updatedAt: Date.now(),
})
const mode = outputModeRef.current
const cachedOutputValue =