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.

CommentFileSizeAuthor
#9 paragraph_blocks-3106704-9.patch5.71 KBbasvredeling
Command icon 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:

Comments

PCate created an issue. See original summary.

tom.moffett’s picture

+100 for this feature.

basvredeling made their first commit to this issue’s fork.

basvredeling’s picture

Status: Active » Needs review

Please review the MR, if you prefer a patch, here's the link: https://git.drupalcode.org/project/paragraph_blocks/-/merge_requests/2.diff

arccoss’s picture

Status: Needs review » Reviewed & tested by the community

Patch 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.

basvredeling’s picture

Version: 8.x-2.x-dev » 3.0.1
basvredeling’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new5.71 KB

Rerolled a new patch against the 3.x branch. Please review.

arccoss’s picture

Status: Needs review » Reviewed & tested by the community

Still, #9 works as intended

  • basvredeling committed a1b43fe on 3.x
    Issue #3106704 by basvredeling, Arccoss: Allow paragraphs added to a...
basvredeling’s picture

Version: 3.0.1 » 3.x-dev
Assigned: Unassigned » basvredeling
Status: Reviewed & tested by the community » Fixed
basvredeling’s picture

Status: Fixed » Closed (fixed)