How do I enforce linebreaks inside a table with the WP editor?
-
I am trying to format poetry for WP that was originally created elsewhere using the ‘<table>’ environment.
The WordPress Visual editor strips out ‘
‘ placed at the end of a ‘<td>’ within a ‘<tr>’.
I can introduce whitespace by an “Enter” that persists through an “Update”, but that whitespace is stripped out upon a re-edit. This cause me to redo all of the “Enters” throughout the table.
Why doesn’t the editor accept ‘
‘?
Blog url: http://newdarshan.wordpress.com/ -
-
Howdy,
You can actually insert “breaks” in the Visual Editor by following the directions available here:
http://en.support.wordpress.com/writing-and-formatting-poetry/#line-breaksIn the HTML Editor, you can use </br>.
-
Thank you for your reply but these suggestions apply to the paragraph environment ‘<p>’.
Using Shit+Return in the Visual or ‘</br>’ in the HTML does not produce robust linebreaks at the end of cells ‘<td>’ within the table environment ‘<table>’.
The question remains – Why don’t the WP editors accept ‘</br>’ within the table environment ‘<table>’? And, Is there a workaround?
Thanks -
-
-
Unfortunately, there’s no real work-around for this. Table control is very limited in the editor, and table display is often further limited by browsers.
- The topic ‘How do I enforce linebreaks inside a table with the WP editor?’ is closed to new replies.