fix: add execCommand fallback for clipboard (#1927)

* fix: add execCommand fallback for clipboard
This commit is contained in:
Philip Okugbe
2026-02-09 14:44:27 -08:00
committed by GitHub
parent 3cb70f0696
commit 7879e1f600
13 changed files with 130 additions and 10 deletions
@@ -1,5 +1,6 @@
import { NodeViewContent, NodeViewProps, NodeViewWrapper } from "@tiptap/react";
import { ActionIcon, CopyButton, Group, Select, Tooltip } from "@mantine/core";
import { ActionIcon, Group, Select, Tooltip } from "@mantine/core";
import { CopyButton } from "@/components/common/copy-button";
import { useEffect, useState } from "react";
import { IconCheck, IconCopy } from "@tabler/icons-react";
import classes from "./code-block.module.css";