Page 1 of 1

Break inserter before table

Posted: Fri Apr 29, 2016 11:30 am
by Huhu
Again, a strange thing: When inserting a plain HTML table in the standard plaintext editor, it inserts a huge number of .br tags. No idea why ...
The code is quick-pasted from a Joomla editor entry, not handwritten.
Anyone?
Skärmavbild 2016-04-29 kl. 11.29.49.jpg
Skärmavbild 2016-04-29 kl. 11.29.49.jpg (31.1 KiB) Viewed 1854 times
Skärmavbild 2016-04-29 kl. 11.31.00.jpg
Skärmavbild 2016-04-29 kl. 11.31.00.jpg (50.79 KiB) Viewed 1853 times

Re: Break inserter before table

Posted: Fri Apr 29, 2016 12:34 pm
by onli
That's the nl2br plugin. Set it in its configuration to the p-mode or deactivate it with the advanced settings in the entry editor (provided by the entryproperties-plugin) for that specific entry to workaround that.

Re: Break inserter before table

Posted: Fri Apr 29, 2016 1:00 pm
by Huhu
That has been it! Great. Thanks!
Now I even understand why it behaves so :)

Re: Break inserter before table

Posted: Fri Apr 29, 2016 3:13 pm
by Timbalu
There are even some more options for this sort of problem:
  • If using the PLAIN TEXT Editor, you can also use the NoBr Button to surround text parts, which shall not react on NL2BR (like tables).
  • The other option is using the WYSIWYG-Editor (CKEditor), which will not run NL2BR automatically with Serendipity 2.0.1+ versions.