When added paragraphs to a new node draft and then going into Layout Builder, the paragraph blocks are not available to place. Only after publishing the draft with the new paragraphs do they become available. It would be great if they could be placed when the node is still in a non-published state so all the node changes for a revision could be published at the same time.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | paragraph_blocks-3106704-9.patch | 5.71 KB | basvredeling |
Issue fork paragraph_blocks-3106704
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3106704-allow-paragraphs-added
changes, plain diff MR !2
Comments
Comment #2
tom.moffett commented+100 for this feature.
Comment #5
basvredelingPlease review the MR, if you prefer a patch, here's the link: https://git.drupalcode.org/project/paragraph_blocks/-/merge_requests/2.diff
Comment #6
arccoss commentedPatch tested and worked perfectly fine for me! I activate the Revision and Layout builder in a node and enable Paragraph blocks with the Content Moderation module. After adding some content in a paragraph field and changing the state from publish to draft, I can now see the new paragraph content in the layout builder.
Comment #8
basvredelingMR needs refactoring after #3189181: Language path prefix breaks method ParagraphBlocksEntityManager->getRefererEntity was merged.
Comment #9
basvredelingRerolled a new patch against the 3.x branch. Please review.
Comment #10
arccoss commentedStill, #9 works as intended
Comment #12
basvredelingComment #13
basvredeling