[wp-trac] [WordPress Trac] #20943: Paragraphs get removed in table cells when Visual editor is refreshed
WordPress Trac
noreply at wordpress.org
Sun Mar 8 16:17:00 UTC 2015
#20943: Paragraphs get removed in table cells when Visual editor is refreshed
-------------------------------------------------+-------------------------
Reporter: JboyJW | Owner:
Type: defect (bug) | SergeyBiryukov
Priority: normal | Status: reviewing
Component: Formatting | Milestone: 4.2
Severity: major | Version: 3.2
Keywords: needs-testing needs-unit-tests | Resolution:
wpautop needs-patch | Focuses:
-------------------------------------------------+-------------------------
Changes (by sandyr):
* keywords: needs-testing needs-unit-tests wpautop has-patch => needs-
testing needs-unit-tests wpautop needs-patch
Comment:
The patch doesn't consider other block elements. Adding different block
elements like <ul> <li> and toggling from visual to text(source) mode
breaks the content (<p> tags) as well as preview.
I tried with :
<table>
<tbody>
<tr>
<td>
<ul>
<li>
<p>Test one</p>
<p>Test two</p>
<p>Test three</p>
</li>
</ul>
</td>
</tr>
</tbody>
</table>
The tinymce editor handles this well
(http://www.tinymce.com/tryit/full.php). Open source editor with the
sample test data above, the preview as well as the visual mode comes up
fine.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20943#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list