magicMoveCopy and codeCopy work only in the global front matter
Author: GitSparTVCreated Jul 15, 2026Updated Jul 15, 2026
Labelspending triage
Describe the bug
Configs like magicMoveCopy or codeCopy can't be set for a single slide.
The only way is to use pointer-events-none.
Minimal reproduction
Steps to reproduce the behavior:
Create regular code block:
---
title: Test
---
Slide 1
---
magicMoveCopy: false
codeCopy: false
---
```txt
Some text
```
It's still has copy button
Environment
- Slidev version:
v52.16.0 - Browser: Chrome
- OS: MacOS
Source: slidevjs/slidev