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 8ce121f commit 9ef8ab7Copy full SHA for 9ef8ab7
src/components/CopyPageButton.tsx
@@ -53,6 +53,7 @@ export default function CopyPageButton() {
53
const clipboardItem = new ClipboardItem({
54
["text/plain"]: fetch(markdownUrl)
55
.then((r) => r.text())
56
+ .then((t) => new Blob([t], { type: "text/plain" }))
57
.catch((e) => {
58
throw new Error(`Received ${e.message} for ${markdownUrl}`);
59
}),
0 commit comments