-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
Needs TestingNeeds further testing to be confirmed.Needs further testing to be confirmed.[Feature] Code EditorHandling the code view of the editing experienceHandling the code view of the editing experience[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
Description
Code editor mode allows user to bypass inability to paste blocks outside of their specific parents.
Step-by-step reproduction instructions
- Add a new post
- See that you cannot add the core/query-pagination block by itself
- Add a query block, and copy the pagination block by itself
- Create a paragraph block, and paste in the copied pagination block.
- Observe that nothing happens.
- Go into "code editor" mode, and replace the post content with only the pagination block
- Observe that the pagination block is now on the page, outside of its parent query block.
- Observe that in the front-end, the pagination block does not show up on the page at all.
step 8 appears to be limited to any blocks that rely exclusively on server-side rendering, such as pagination and social-link. Blocks which save HTML content, such as list-item, are not affected by this.
Screenshots, screen recording, code snippet
Environment info
Wordpress 6.2.2, no plugins installed.
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
Metadata
Metadata
Assignees
Labels
Needs TestingNeeds further testing to be confirmed.Needs further testing to be confirmed.[Feature] Code EditorHandling the code view of the editing experienceHandling the code view of the editing experience[Type] EnhancementA suggestion for improvement.A suggestion for improvement.