Skip to content

refactor: editor monolith #1911

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

refactor: editor monolith #1911

wants to merge 3 commits into from

Conversation

nperez0111
Copy link
Contributor

  • refactor: split out managers from the editor instance
  • refactor: split out collaboration & extensions to their own manager
  • refactor: move location

Copy link

vercel bot commented Aug 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Aug 4, 2025 8:12am
blocknote-website ❌ Failed (Inspect) Aug 4, 2025 8:12am

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not yet there, but will be the basis for the location api

Copy link
Collaborator

@matthewlipski matthewlipski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@@ -303,9 +303,11 @@ export class BlockNoteTipTapEditor extends TiptapEditor {
if (!element) {
this.destroy();
this.isInitialized = false;
this.emit("unmount", { editor: this });
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this smth relevant to splitting up the editor, or just a small fix that was added by the way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants