-
-
Notifications
You must be signed in to change notification settings - Fork 646
feat: Major Extensions & UI Refactor #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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
106 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 73b4c75
refactor: rewrite how extensions work
nperez0111 da8e039
chore: fix lint
nperez0111 8eed1c8
Fixed formatting & link toolbar issues
matthewlipski b4138c4
Merge branch 'plugin-system' of github.com:TypeCellOS/BlockNote into …
matthewlipski d6027ca
Small fix
matthewlipski 3bfbb00
refactor: PR comments
nperez0111 55ab3ce
Small fix
matthewlipski a6be872
Merge branch 'plugin-system' of github.com:TypeCellOS/BlockNote into …
matthewlipski eaa1fe2
fix: handle collaboration again
nperez0111 1c5af23
refactor: remove resolveUsers from editor
nperez0111 3524f24
refactor: cleanup some more off the editor
nperez0111 da6b0a5
remove zustand dep
YousefED 860c5f4
Merge branch 'plugin-system' of github.com:TypeCellOS/BlockNote into …
YousefED 383b3df
refactor: move comments to their sub-package
nperez0111 89a6d96
refactor: rename extensions to have `Extension` suffix
nperez0111 12c85ac
refactor: delete some un-used hooks
nperez0111 208e967
fix: remove comments options from the editor instance
nperez0111 14a9ee4
Fixed suggestion menu issues
matthewlipski c0ea16b
Merge branch 'plugin-system' of github.com:TypeCellOS/BlockNote into …
matthewlipski 8f7b3e4
Misc changes/fixes
matthewlipski ce5afa8
Small fix
matthewlipski 7608953
fix: put back menu handling
nperez0111 38a5fc2
Removed logs
matthewlipski 37a613b
Merge branch 'plugin-system' of github.com:TypeCellOS/BlockNote into …
matthewlipski 3dbe824
refactor(comments): make extension use store exclusively
nperez0111 7346e55
fix: break circular import
nperez0111 869aa94
fix: remove `onCreate` event since it is not needed with current system
nperez0111 c4a4b0c
Formatting toolbar and file panel fixes
matthewlipski 6260e9d
Merge branch 'plugin-system' of github.com:TypeCellOS/BlockNote into …
matthewlipski fa1adee
test: add some checks for tests
nperez0111 8b46780
fix: use correct key
nperez0111 dc8373b
Fixed tests
matthewlipski d9c85f1
Fixed collab tests
matthewlipski 57a01f2
test: fixes for test running
nperez0111 91207f4
test: get all unit tests passing again
nperez0111 04acea9
chore: fix lint
nperez0111 294f0fe
build: lint depends on nothing
nperez0111 02d54e1
Refactored/tested/fixed AI menu and other misc changes
matthewlipski 17a5905
Merge branch 'plugin-system' of github.com:TypeCellOS/BlockNote into …
matthewlipski c9d6416
fix: use a single prosemirror plugin instance for all inputRules
nperez0111 536631b
Fixed block keyboard shortcuts not getting registered and local unit …
matthewlipski c478ac8
Updated e2e snaps
matthewlipski 27ac9a0
Fixed e2e tests
matthewlipski 9d17f78
Updated e2e screenshot
matthewlipski e85065b
Fixed create link button not showing editor selection
matthewlipski d7e7092
Fixed `SideMenu`/`BlockPositioner` updating bug
matthewlipski c262cee
Minor changes
matthewlipski e3315db
Fixed issues when editor is not editable
matthewlipski 26eeb50
Added comment
matthewlipski cfadef4
small fix to aimenu
YousefED 6791ae9
Misc fixes after review
matthewlipski f645911
Fixed build
matthewlipski 3e894b4
Updated docs
matthewlipski e3a0c27
Changed file panel extension state from object with block ID string t…
matthewlipski 454b511
Moved all `DOMRect` caching logic to `GenericPopover`
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.