0

I have a simple field, with this config:

{
  "buttons": [
    "bold",
    "italic",
    "link"
  ],

  "breakline": true

}

What I want is to just have simple text with <br> but not other tags involved (except for link, bold, italic) So when I do a test, every line break is added as double:

test<br><br>
this<br><br>
is a<br><br>
test

No matter if I enter the line breaks through the admin panel with Shift + Return, or just by Return

How can I avoid this? and just get a simple return?

Thanks

Additional info

  • Craft version: 3.6.17
  • PHP version: 7.4
  • Database driver & version: 5.7
  • Redactor: 2.8.7

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.