codex-team / codex-team/editor.js

Unloading without finished causes crash

Open
#896 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

I've used the wrapper of stfy (stfy/react-editor.js) but I think the error is located inside editor.js.

When the editor is initializing - at a certain stage not in every stage - and I switch context to another tab [my way of context switch] the destroy method is fired, which seems ok. However when the observer is disconnected (this.observer.disconnect() in modificationObserver.ts) the disconnect method doesn't exists yet. Which causes an error.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.