ideas icon indicating copy to clipboard operation
ideas copied to clipboard

Clarify UI language around inline setting on Bard sets

Open ianjohn27 opened this issue 3 months ago • 0 comments

I'm relatively new to Statamic, but have been doing other CMS work for a long time. I got really tripped up here with the language around this setting:

https://github.com/statamic/cms/blob/5.x/resources/lang/en/fieldtypes.php

'bard.config.inline' => 'Disable block elements like headings, images, and sets.',
'bard.config.inline.break' => 'Enabled with line breaks',
'bard.config.inline.disabled' => 'Disabled',
'bard.config.inline.enabled' => 'Enabled without line breaks',

So by setting the menu to "disabled" you are enabling inline images? It's kind of perverse. I wonder if these could be changed to:

'bard.config.inline' => 'Disable block elements like headings, images, and sets?',
'bard.config.inline.break' => 'Disallow block elements, use line breaks',
'bard.config.inline.disabled' => 'Allow block elements',
'bard.config.inline.enabled' => 'Disallow block elements, do not use line breaks',

I mean, does that accurately reflect the way they work?

ianjohn27 avatar Sep 17 '25 13:09 ianjohn27