Description:
When adding a multiline textarea ACF Field and for the “New Lines” setting selecting the “Automatically add <br>
” option displays the <br />
tags in the editor canvas when adding the field using the dynamic inserter.
Step-by-step reproduction instructions:
Please write the steps needed to reproduce the bug.
- Add a multiline Textarea ACF field
- For the New Lines option, select “Automatically add
<br>
” - Display the field using the dynamic inserter within a post
- Note that the
<br />
tags are visible in the editor canvas - Preview the field on the frontend
- Note that the field displays correctly with wrapped lines
Screenshots, screen recording, code snippet
ACF field configuration:
Editor canvas view:
Frontend view:
Environment info
- WordPress version: 6.4.3
- Cwicly Plugin version: 1.4.0.2