Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Linebreaks and other tags in the Event Body field seem to be removed, so when I type:
"line 1
line 2"
What comes up is:
"line1line2"
Is there a fix to allow it to work, if not how do I disable it?
Thanks
Comments
Comment #1
Leeteq CreditAttribution: Leeteq commented(I see this one has been unanswered for a while)
I havent checked this module yet, so this comment is just assuming that the module behaves as an input filter.
If so, such things are normally a matter of organizing the order of filters used in the input formats (for example at which point the linebreak filter is applied (before this module does its work?) - and if you want to avoid using this, you can create a special input format that does not make use of this editor - for special content type(s), for example.
If this module behaves like an input filter, and my answer works, please set this issue as "support request" and close it.
(if this module does not behave like an input filter, it will be impractical to use in many sites, if it is not easy to configure when i should be allowed to do its magic, and when not to. If so: this issue is perhaps more like a feature request than a bug report?)
Comment #2
Gurpartap Singh CreditAttribution: Gurpartap Singh commentedThis doesn't sound like a widgeditor problem. Other encounter it even without widgeditor. Check for proper input formats setup.
Comment #3
Gurpartap Singh CreditAttribution: Gurpartap Singh commentedThis isn't actually a widgeditor bug. Drupal's default filters convert newline (\n) into
<p> or <br>
automatically. However, widgeditor breaks content using these tags instead of \n.What you need to do is, add
<p> <br>
to the allowed html tags in Filtered HTML's configuration.