Skip to content

Copy button in code block throws "Maximum call stack size exceeded" and fails to copy #8

Description

@sepynahewymiqikz

When clicking the copy button inside a code block, the content is not copied to the clipboard. The browser console shows a RangeError: Maximum call stack size exceeded originating from the clipboard write operation.

Error log (from console)

Uncaught (in promise) RangeError: Maximum call stack size exceeded
    at Object.writeText (electron.js?v=1778316445:468:48)
    at Clipboard.<anonymous> (app.js:1:3722286)
    at app.js:1:258511
    at Object.next (app.js:1:258616)
    at app.js:1:257532
    at new Promise (<anonymous>)
    at y (app.js:1:257277)
    at o.writeText (app.js:1:3722216)
    at Object.writeText (electron.js?v=1778316445:468:48)
    at Clipboard.<anonymous> (app.js:1:3722286)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions