feat: artifacts
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user