-
-
Notifications
You must be signed in to change notification settings - Fork 642
refactor(extensions): rewrite to use new extension system #2143
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
nperez0111
wants to merge
51
commits into
main
Choose a base branch
from
plugin-system
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+6,795
−6,734
Open
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
b94e7ee
refactor(extensions): rewrite to use new extension system
nperez0111 916fc8c
chore: minor fixes
nperez0111 6a0150c
Refactored almost all formatting toolbar components to use `useEditor…
matthewlipski 06fa6f7
Refactored remaining uses of hooks with `useEditorState` where possib…
matthewlipski 5ffc5a4
feat: virtual element hooks
nperez0111 9b266e5
Merge branch 'plugin-system' of github.com:TypeCellOS/BlockNote into …
matthewlipski 1073248
Refactored formatting toolbar, file panel, and suggestion menu contro…
matthewlipski 343b67c
Fixed popover position reference not updating when it should & fixed …
matthewlipski f80999c
Cleaned up hooks
matthewlipski a1372c0
- Cleaned up refactored UI plugins
matthewlipski 555973d
Refactored side menu & fixed issue with `GenericPopover` memoized `in…
matthewlipski d07e2a4
Comment edit
matthewlipski 369606c
Fixed core build
matthewlipski a5287b4
Misc fixes
matthewlipski 2b2d3a2
Small fix
matthewlipski 050ecff
Refactored table handles
matthewlipski 84d303c
Fixed various build & UI issues
matthewlipski 988f3de
Fixed various UI issues
matthewlipski 7693564
Fixed link creation/editing throwing error
matthewlipski ccfa56d
Refactored comments
matthewlipski e01c25c
chore: update prosemirror versions
nperez0111 5ce9ad7
fix: y-prosemirror plugin ordering
nperez0111 bd5a73d
Updated comments to fully use new components APIs
matthewlipski 7972e49
chore: fix build
nperez0111 3b568d2
build: get multi-column building again
nperez0111 e64aef7
refactor: rewrite the AI extension to use the new plugin API
nperez0111 0c3c37a
fix: make mounting and unmounting extensions actually work properly
nperez0111 3c8992a
Fixed z-index clipping issues
matthewlipski 911d01a
Merge branch 'plugin-system' of github.com:TypeCellOS/BlockNote into …
matthewlipski e92b294
refactor: normalize extension naming no longer plugins
nperez0111 81c0032
refactor: always turn a DOMRect into JSON for easy comparisons
nperez0111 16e87ab
refactor: change imports of extensions to be found at `@blocknote/cor…
nperez0111 d9c8b65
fix: use an abort signal instead of sending an abortcontroller
nperez0111 beb11fc
chore: fix circular import
nperez0111 8fb1459
chore: use any blocknote editor
nperez0111 4be8534
refactor: less derived state
nperez0111 d40518b
refactor: rename `usePlugin` -> `useExtension`
nperez0111 2fb11fa
refactor: remove class member
nperez0111 0190ba2
refactor: rename `plugins` -> `prosemirrorPlugins` and `init` -> `mount`
nperez0111 5157ce8
Fixed suggestion menus closing when clicking scroll bar
matthewlipski 171ef89
Merge branch 'plugin-system' of github.com:TypeCellOS/BlockNote into …
matthewlipski f57ef14
fix: always pull the latest extensions in React
nperez0111 dd098b0
Fixed table handle issues
matthewlipski f4bab3b
add comments
YousefED 9b69258
Merge branch 'plugin-system' of github.com:TypeCellOS/BlockNote into …
YousefED 6f901a2
Fixed most remaining table handle issues
matthewlipski c1b1b3d
Merge branch 'plugin-system' of github.com:TypeCellOS/BlockNote into …
matthewlipski 981aedc
fix: formatting toolbar, comments + cleanup
nperez0111 0be31ed
refactor: filepanel unsubs it's listeners
nperez0111 4300600
Merge branch 'main' into plugin-system
matthewlipski bba68f2
Fixed build
matthewlipski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.