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

Copy Tex is broken #3948

Open
Mister-Hope opened this issue Apr 21, 2024 · 1 comment
Open

Copy Tex is broken #3948

Mister-Hope opened this issue Apr 21, 2024 · 1 comment
Labels

Comments

@Mister-Hope
Copy link

I don't think this file is a valid javascript file, the file is packed and published to NPM AS-IS, while it's containing type declaration:

function closestKatex(node: Node): ?Element {
    // If node is a Text Node, for example, go up to containing Element,
    // where we can apply the `closest` method.
    const element: ?Element =
document.addEventListener('copy', function(event: ClipboardEvent) {

This breaks the copy feature.

@rage73
Copy link

rage73 commented Apr 27, 2024

Hi, I would like to work on this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants