[wp-trac] [WordPress Trac] #23324: TinyMCE strips paragraphs/new lines when used in table.
WordPress Trac
noreply at wordpress.org
Wed Jan 30 12:12:40 UTC 2013
#23324: TinyMCE strips paragraphs/new lines when used in table.
-----------------------------+--------------------------
Reporter: eskapism | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: General
Version: 3.5.1 | Severity: normal
Keywords: |
-----------------------------+--------------------------
When writing text inside a table TinyMCE strips paragraphs when switching
between the Visual tab and the Text tab. This also happens on save, so you
actually don't have to use the visual/text-tabs.
I only seems to do it with paragraphs, not with br/ctrl-enter-lines.
Consider this HTML:
{{{
<table border="0">
<tbody>
<tr align="left" valign="top">
<td>New line 3
New line 4
New line 5
New paragraph</td>
</tr>
</tbody>
</table>
}}}
If you click visual tab and then text tab a couple of times (like 4 or 5)
You end up with this:
{{{
<table border="0">
<tbody>
<tr align="left" valign="top">
<td>New line 3
New line 4
New line 5New paragraph</td>
</tr>
</tbody>
</table>
}}}
May be a duplicate of
http://core.trac.wordpress.org/ticket/6485
and if it is I don't quite understand why it is/was a wont-fix.
Tested in Chrome 25.0.1364.45 beta and FireFox 18.0.1 and WordPress 3.5.1
and WordPress 3.6-alpha-23288.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23324>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list