• urvanov_syntax_highlighter.min.js?ver=2.9.0:1 Uncaught TypeError: Cannot read properties of undefined (reading 'value')
    at J.copyPlain (urvanov_syntax_highlighter.min.js?ver=2.9.0:1:13895)
    at HTMLDivElement.<anonymous> (urvanov_syntax_highlighter.min.js?ver=2.9.0:1:8549)
    at HTMLDivElement.dispatch (jquery.min.js?ver=3.7.1:2:40035)
    at v.handle (jquery.min.js?ver=3.7.1:2:38006)
    J.copyPlain @ urvanov_syntax_highlighter.min.js?ver=2.9.0:1
    (anonymous) @ urvanov_syntax_highlighter.min.js?ver=2.9.0:1
    dispatch @ jquery.min.js?ver=3.7.1:2
    v.handle @ jquery.min.js?ver=3.7.1:2

    I realized the copy button isn’t working. When I press the copy button, the following error is displayed in the Chrome console.
    Crayon is version 2.9.0 and I’m using it with the classic editor.

    You can check it on my site’s blog post.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author urvanov

    (@urvanov)

    @elmitash Copy button uses JavaScript Clipboard API. It can work only on websites with HTTPS. I have some thoughts about alternative option for HTTP or localhost. But for now only HTTPS.

    Plugin Author urvanov

    (@urvanov)

    Oh. Your website in link uses HTTPS. I think copy button should work for it. But I don’t see any button on the toolbars in code blocks. I cannot test.

    • This reply was modified 1 month ago by urvanov.
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.