diff --git a/docs/_component/editor.client.js b/docs/_component/editor.client.js index e5832b534..daf9a350c 100644 --- a/docs/_component/editor.client.js +++ b/docs/_component/editor.client.js @@ -37,7 +37,7 @@ function useMdx(defaults) { const file = new VFile({basename, value: config.value}) const capture = (name) => () => (tree) => { - file.data[name] = tree + file.data[name] = structuredClone(tree) } const remarkPlugins = []