1
0
Fork 0

wip: Implemented editor export

This commit is contained in:
joostdecock 2025-02-02 15:02:35 +01:00
parent 77ee973355
commit 3ec1cbd01b
10 changed files with 332 additions and 157 deletions

View file

@ -27,7 +27,7 @@ export const CopyToClipboard = ({ content, label = false, sup = false }) => {
const text =
typeof content === 'string' ? content : strip(ReactDOMServer.renderToStaticMarkup(content))
const style = sup ? 'w-4 h-4 -mt-4' : 'w-5 h-5'
const style = sup ? 'tw-w-4 tw-h-4 tw--mt-4' : 'tw-w-5 tw-h-5'
return (
<Copy text={text} onCopy={() => handleCopied(setCopied, setLoadingStatus, label)}>