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

Leeteq’s picture

(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?)

Gurpartap Singh’s picture

Status: Active » Closed (won't fix)

This doesn't sound like a widgeditor problem. Other encounter it even without widgeditor. Check for proper input formats setup.

Gurpartap Singh’s picture

Category: bug » support
Status: Closed (won't fix) » Fixed

This 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.