cms
cms copied to clipboard
Can't put heading after image in Bard properly
Bug description
Here's a video of my colleague struggling to insert a heading after an image:
https://user-images.githubusercontent.com/1322846/147747448-a09509a8-c011-4b18-9df8-bd076450df90.mp4
It seems to me that the fact that Image Node in Bard is inline interferes with a following heading and results in image being wrapped in heading tag, like so:
<h2><img src="" data-src="asset::assets::donut.jpg">This is a heading</h2>
How to reproduce
- Create Bard field
- Insert image
- Insert heading after image
Logs
No response
Versions
Statamic 3.2.28 Pro Laravel 8.61.0 PHP 8.0.11 doublethreedigital/duplicator 2.0.1
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
This could maybe tackled together with https://github.com/statamic/ideas/issues/500
Hey 👋
I'm unable to reproduce this issue on the latest version of Statamic. I can add headings after inline images as expected.
I'm going to close this issue now. If you're still experiencing this issue, please leave a comment and we can re-open the issue. Thanks!