[wp-trac] [WordPress Trac] #19917: TinyMCE Removes P tag from Table Cells
WordPress Trac
wp-trac at lists.automattic.com
Sun Jan 29 06:45:04 UTC 2012
#19917: TinyMCE Removes P tag from Table Cells
--------------------------+-----------------------------
Reporter: cyberram | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 3.3.1
Severity: normal | Keywords:
--------------------------+-----------------------------
After a page is saved using TinyMCE editor, it removes the first P element
inside every cell and replaces it with its inner HTML.
To recreate this issue follow these steps.
1. Edit any page and paste the below code in HTML view
{{{<table><tr><td><p><strong>Line 1</strong></p><p><strong>Line
2</strong></p><p><strong>Line 3</strong></p></td></tr></table>}}}
2. Save it and you will notice the first P is removed.
3. Save it again and the second P tag is removed.
Not sure whether its a bug with the TinyMCE or its implementation in
Wordpress.
Tested using Google Chrome and IE, same results.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19917>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list