No, its an enhancement
When adding a custom field of type text, can a selection be added to render none, or <p></p>, <h1></h1>,
etc. around the text field output.
This solution can be added currently with an override. However, added it to core would be useful for improving accessibility and seo.
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
Feature
|
@robinclapp do you think different layouts to choose from in the options tab could also solve your problem?
@LadySolveig, so currently I have created the overrides to handle this and yes I select the layout here.
So should the solution be default layout selections for the p, h1, h2, h3 options?
Yes, with Alternate Layout for the Custom Fields you can do it.
Here is a very nice explanation of how to do it: https://regularlabs.com/blog/1360-how-to-create-an-alternate-layout-for-custom-fields-in-joomla
But of course you then want to have also an Alternate Layout for the Articles of that Category, so that the Custom fields are put exactly on the right place (and avoid the dl issue that Brian is mentioning)
This solution can be added currently with an override. However, added it to core would be useful for improving accessibility and seo.
how does adding it to the core instead of using an override improve accessibility or seo?
a possible problem is that it could result in invalid html as custom fields are by default rendered in a
dl
list.