Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Crash when pasting content #243

@Reinmar

Description

@Reinmar

Steps:

  1. Type "Foo @Reinmar"
  2. Cut that.
  3. Paste that.
Uncaught TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'Object'
    |     property 'writer' -> object with constructor 'dc'
    |     property 'model' -> object with constructor 'Gc'
    |     ...
    |     property 'attributes' -> object with constructor 'Object'
    --- property 'mention' closes the circle
    at JSON.stringify (<anonymous>)
    at Gc.e (github-writer.js:1708)
    at Gc.fire (github-writer.js:59)
    at xc.<anonymous> (github-writer.js:1678)
    at xc.fire (github-writer.js:59)
    at xc._handleChangeBlock (github-writer.js:505)
    at Gc._runPendingChanges (github-writer.js:548)
    at Gc.change (github-writer.js:543)
    at pd.listenTo.priority (github-writer.js:785)
    at pd.fire (github-writer.js:59)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions