-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Site Editor: Add ability to focus on editing a page's content vs the page's template #50857
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
49 commits
Select commit
Hold shift + click to select a range
5f3c1b2
Add ability to prevent editing blocks using useBlockEditingMode()
noisysocks bcf6949
Make useBlockEditingMode use context
noisysocks 6ab13d7
Remove rootBlockEditingMode setting
noisysocks 6426fca
Fix private createRegistrySelector selectors
noisysocks bd2f478
Consolidate templateLock=contentOnly logic into getBlockEditingMode
noisysocks f00dc25
Hide disabled blocks from List View
noisysocks c7e128c
Hide disabled blocks from breadcrumbs
noisysocks 2a9b9e5
Add doc comments
noisysocks 692cd76
Add unit tests
noisysocks 8162afe
Use @typedef to document mode param
noisysocks 52c4df0
Merge remote-tracking branch 'origin/trunk' into try/block-editing-mode
noisysocks 3d437a4
Restore packages/components/package.json from trunk
noisysocks 25f3e58
Restore packages/block-library/src/post-title/edit.js from trunk
noisysocks f1e1a11
Move BlockListBlockContext out of block.js so that it exists on mobil…
noisysocks 6bf1ddd
Site Editor: Add ability to focus on editing a page's content vs the …
noisysocks 727ecd2
Show page information in DocumentActions
noisysocks 6bd3ab8
Merge remote-tracking branch 'origin/trunk' into add/template-post-co…
noisysocks 12e8ad4
Implement Content panel
noisysocks 4489da2
Prevent block overlay on disabled blocks
noisysocks fda46cd
Fix Navigation block being selectable
noisysocks 0443db4
Show 'Page' in breadcrumbs when focused on editing page
noisysocks 8c1c4a6
Update post title, post featured image, and post content blocks to sa…
noisysocks bed91ec
toolbar title styling
SaxonF 23837de
Remove removePostFromContentBlockLabels for now
noisysocks 3cd4a17
Fix being able to select text within disabled blocks
noisysocks 599a4d1
Hide BlockAppender when block is disabled
noisysocks 5d52359
Fix comments block in non-post templates
noisysocks 055b7f1
Update template card selector in E2E tests
noisysocks 79c59bf
Fix 'Add submenu' button in Navigation block
noisysocks 726c6cc
Merge remote-tracking branch 'origin/trunk' into add/template-post-co…
noisysocks 89212cd
Remove unhelpful comments
noisysocks bdee82a
Remove more unnecessary comments
noisysocks 0395bf0
Use constant for block types array
noisysocks 67cf0db
Use BEMish selectors
noisysocks 50748c2
Be explicit that we're switching away from the page lock
noisysocks a468d55
Update removePageFromBlockContext() test
noisysocks 261d076
Fix post context from appearing in Edit Template preview
noisysocks 64d0e43
Clear block selection when switching from template focus to page focus
noisysocks c860258
Prevent insertion into a disabled block
noisysocks c22368a
Don't allow removing and moving children of disabled blocks
noisysocks 32b5413
Work around @wordpress/data bug by not using createRegistrySelector()…
noisysocks 9eba206
Fix typo
ramonjd 245a0bb
Fix select() mock
noisysocks 97e8f23
Fix block-editor selector tests
noisysocks 46c4074
Merge remote-tracking branch 'origin/trunk' into add/template-post-co…
noisysocks cd90a63
Revert block-editor changes
noisysocks 7e64fa5
Merge remote-tracking branch 'origin/trunk' into add/template-post-co…
noisysocks fa8133b
Improve useDisableNonContentBlocks performance
noisysocks f3fc2ca
Fix performance tests
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
Fix being able to select text within disabled blocks
- Loading branch information
commit 3cd4a1725f527846dd263478a5da7da8d42521d7
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
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.