We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7504cfb commit dbe9f44Copy full SHA for dbe9f44
βdocs/_component/editor.client.js
@@ -37,7 +37,7 @@ function useMdx(defaults) {
37
const file = new VFile({basename, value: config.value})
38
39
const capture = (name) => () => (tree) => {
40
- file.data[name] = tree
+ file.data[name] = structuredClone(tree)
41
}
42
43
const remarkPlugins = []
0 commit comments