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

Uncaught RangeError upon deleting a rich text cell #392

Open
KevinDCarlson opened this issue Feb 7, 2025 · 1 comment
Open

Uncaught RangeError upon deleting a rich text cell #392

KevinDCarlson opened this issue Feb 7, 2025 · 1 comment
Labels
bug Something isn't working frontend TypeScript frontend and Rust-wasm integrations tactical Typical engineering complexity

Comments

@KevinDCarlson
Copy link
Collaborator

Workflow: make a rich text cell, then delete it. The following prints to console:

Uncaught RangeError: Cannot splice: RangeError: invalid object id: invalid path _root/notebook/cells/0/content: path component 2 (0) referenced a nonexistent object
    at xa (index-DKwPyY2I.js:3:44554)
    at sX (index-DKwPyY2I.js:30:36737)
    at c3.o (index-DKwPyY2I.js:30:42747)
    at a.emit (index-DKwPyY2I.js:3:54093)
    at c3.KR (index-DKwPyY2I.js:5:49491)
    at index-DKwPyY2I.js:5:47242
    at Dj.update (index-DKwPyY2I.js:3:62046)
    at Dj._process (index-DKwPyY2I.js:3:64138)
    at Eb.flush (index-DKwPyY2I.js:3:55819)
    at Eb.enqueue (index-DKwPyY2I.js:3:55755)

I've checked this in a couple of theories. Just on Chrome in OS X, but I think it's probably in our code.

@KevinDCarlson KevinDCarlson added bug Something isn't working frontend TypeScript frontend and Rust-wasm integrations tactical Typical engineering complexity labels Feb 7, 2025
@epatters
Copy link
Member

epatters commented Feb 7, 2025

Sigh. I thought this was fixed. I've seen stuff like this before. It has to do with automerge-prosemirror.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend TypeScript frontend and Rust-wasm integrations tactical Typical engineering complexity
Projects
None yet
Development

No branches or pull requests

2 participants