- Issue created by @bnjmnm
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
I suspect 🐛 Cannot place a code component with an image prop Active fixed this, but it'd be good to confirm. 🤞
- 🇬🇧United Kingdom longwave UK
This is very related to 🐛 SDCs with optional images without examples cannot be placed Active which points the finger at the same code.
- 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
I confirm that with 🐛 SDCs with optional images without examples cannot be placed Active MR the patch request works and the content is saved as expected.
But something confusing for users happen. When I edit the heading after adding the component, the image is still there. When I refresh the editor, the image isn't there (because it was optional, makes sense).
Should the default optional image disappear once we edit any prop? That would be confusing for the editor as some element is disappearing and might be hard for them to find it again to set an image.
Should we have the optional image placeholder show after saving? That would be confusing for the editor as the preview won't match the actual rendering of the page.
- 🇬🇧United Kingdom longwave UK
Added test coverage to 🐛 SDCs with optional images without examples cannot be placed Active for this SDC.
- 🇬🇧United Kingdom longwave UK
This can perhaps be closed as duplicate, it's the same issue triggered by a different SDC.