-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Blocks: Support reusable nested blocks (reusable blocks refactor) #5228
Merged
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
e53d036
Revert "Blocks: Disable Convert to Reusable for nested blocks"
aduth e0ea667
Block: Move block context provides into BlockEdit
aduth 8501e7d
Blocks: Avoid dismissing editable controls
aduth edc7681
State: Enhance history reducer utils to support ignores
aduth 928c2d1
Block List: Hide disabled default block appender
aduth 7aff115
State: Update reusable blocks as pointers to state blocks
aduth f7dabde
Block List: Inject inner block list creator as function
aduth d5da664
Typo: saved -> fetched
noisysocks 4aac14a
Typo: preferencially -> preferentially
noisysocks b4afb64
Explain why dispatching RECEIVE_BLOCKS is necessary
noisysocks b2f16d0
Remove unnecessary getState variable
noisysocks 04bfd26
Update getInserterItems to respect new reusable block data layout
noisysocks c169500
Provide createInnerBlockList context in BlockPreview
noisysocks 2ede29e
Fix flash of 'Not found' error message when fetching a reusable block
noisysocks 1b3f1ba
When converting reusable -> regular, replace the block with a copy
noisysocks 4025b7a
Avoid iterating through reusable blocks twice
noisysocks 3f0180c
Move createInnerBlockList into `editor/utils`
noisysocks 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
State: Update reusable blocks as pointers to state blocks
- Loading branch information
commit 7aff11577924f013c3870db11acc6791c70c8d22
There are no files selected for viewing
This file contains 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great ❤️