Problem/Motivation
I have encountered what I believe to be a bug in a particular setup, however at this point im unsure where it resides. Could be Entity revisions, Layout builder or paragraphs
Prereq;
- Layout builder
- Paragraphs (8.x-1.12)
- Entity reference revisions (8.x-1.9)
Steps to reproduce
1. Create a custom block type (lets call it Tab) with a rich text field, ensure create new revision is checked
2. Create a paragraph type (lets call it Tab panel) with an entity reference revisions field that can reference the Tab block type. Change the widget type to 'Inline entity form - Complex' from within 'Manage Form Display'
3. Create another custom block type (Lets call it Tabs) with an entity reference revisions field that can reference the Tab panel paragraph from step 2, ensure create new revision is checked. Set the ERR field to display as 'Paragraphs Classic' in 'Manage form display'
4. Create a content type
5. Configure the content type to use layout builder
6. Inside manage layout, add the block from step 3, add some dummy content - this should be used as the default content when adding a new node
7. Add a node from step 4
8. Inside the layout of the new node, change the content in the block from step 6
Structure should be Node > Block > Paragraph > Block
The reason Paragraphs sits in this structure is because I want to be able to reference 2 different block types for my tab content
Expected result
The default block content from within the content type layout should remain unchanged when making block content changes on the new node
Actual result
The changes to the block in the node added in step 7 has now overriden the default content type block content
Proposed resolution
??
When editing the existing block inside Layout builder > Paragraphs it should be creating a new revision, but it isn't, at least not as far as I can tell. The same setup works fine when it's just paragraphs inside the parent block type, but when you have Block > Paragraph > Block it's not working properly.
Unless im missing something glaringly obvious :)