Bug description
I've configured a bard field without sets as followed:
Enabled with line breakDon't remove empty nodes
When content is placed in the bard field and a line break is placed above. All content will be removed after saving the page.
I expected the <br> to just be there.
How to reproduce
- Start up a new Statamic site.
- Create a new Bard fieldtype in for example the Page blueprint.
- Configure the Bard fieltype like this:
-
handle: bard_field
field:
inline: break
remove_empty_nodes: false
type: bard
display: 'Bard Field'
buttons:
- bold
toolbar_mode: floating
- Go to the page and add some content in the bard field.
- Place linebreaks above the content and save the page.
- The content will be removed after saving.
Logs
No response
Environment
EnvironmentApplication Name: StatamicLaravel Version: 11.30.0PHP Version: 8.3.13Composer Version: 2.7.7Environment: localDebug Mode: ENABLEDURL: statamic.testMaintenance Mode: OFFTimezone: Europe/AmsterdamLocale: enCacheConfig: NOT CACHEDEvents: NOT CACHEDRoutes: NOT CACHEDViews: CACHEDDriversBroadcasting: logCache: fileDatabase: sqliteLogs: stack / singleMail: logQueue: redisSession: fileLivewireLivewire: v3.5.12StatamicAddons: 0Sites: 1Stache Watcher: Enabled (auto)Static Caching: DisabledVersion: 5.36.0 PRO
Installation
Fresh statamic/statamic site via CLI
Additional details
I'm getting the same behaviour on different sites.
Bug description
I've configured a bard field without sets as followed:
Enabled with line breakDon't remove empty nodesWhen content is placed in the bard field and a line break is placed above. All content will be removed after saving the page.
I expected the
<br>to just be there.How to reproduce
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
I'm getting the same behaviour on different sites.