Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Crepe editor NotAllowedError #1692

Open
2 tasks done
sytolk opened this issue Feb 18, 2025 · 0 comments
Open
2 tasks done

[Bug] Crepe editor NotAllowedError #1692

sytolk opened this issue Feb 18, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@sytolk
Copy link

sytolk commented Feb 18, 2025

Initial checklist

  • I agree to follow the code of conduct
  • I searched issues and discussions and couldn’t find anything (or linked relevant results below)

Affected packages and versions

"@milkdown/crepe": "^7.6.2"

Link to runnable example

No response

Steps to reproduce

I have try to edit link in Crepe editor and have this error:

Uncaught (in promise) NotAllowedError: Failed to execute 'writeText' on 'Clipboard': Document is not focused.
    at HTMLDivElement.onClickPreview (index.es.js:177:33)

From here: https://github.com/Milkdown/milkdown/blob/main/packages/components/src/link-tooltip/preview/preview-component.ts#L33

Expected behavior

...

Actual behavior

...

Runtime

No response

OS

No response

Build and bundle tools

No response

@sytolk sytolk added the bug Something isn't working label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants