diff --git a/src/components/ContentNode.vue b/src/components/ContentNode.vue index ff8fd5175..3178b919f 100644 --- a/src/components/ContentNode.vue +++ b/src/components/ContentNode.vue @@ -274,6 +274,7 @@ function renderNode(createElement, references) { fileType: node.fileType, content: node.code, showLineNumbers: node.showLineNumbers, + copyToClipboard: node.copyToClipboard ?? false, }; return createElement(CodeListing, { props }); } diff --git a/src/components/ContentNode/CodeListing.vue b/src/components/ContentNode/CodeListing.vue index 8f1524fc8..3efa35bef 100644 --- a/src/components/ContentNode/CodeListing.vue +++ b/src/components/ContentNode/CodeListing.vue @@ -1,7 +1,7 @@