-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Feature] Rich TextRelated to the Rich Text component that allows developers to render a contenteditableRelated to the Rich Text component that allows developers to render a contenteditable[Package] Block editor/packages/block-editor/packages/block-editor[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
If i have a paragraph with the block editing mode set to disabled it shouldnt be able to be merged with another block. Currently what happens is that it merges both blocks into the disabled block. What should happen is that merging is prevented.
Step-by-step reproduction instructions
Note
wp.data
needs to be exposed to run the console command
- Create a post
- Add two paragraphs
- Open console run the following
wp.data.dispatch('core/block-editor').setBlockEditingMode( wp.data.select('core/block-editor').getBlocks()[0].clientId, 'disabled')
- in the second paragraph put the cursor to the front of the block
- hit backspace
- see that the blocks have been merged when they shouldn't have been.
Screenshots, screen recording, code snippet
Screen.Recording.2025-04-16.at.13.03.49.mov
Environment info
- Tested on WP6.6, 6.7 and 6.8
- Browser latest chrome (i imagine it would occur on others)
- Device Macbook Pro
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
Metadata
Metadata
Assignees
Labels
[Feature] Rich TextRelated to the Rich Text component that allows developers to render a contenteditableRelated to the Rich Text component that allows developers to render a contenteditable[Package] Block editor/packages/block-editor/packages/block-editor[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended