Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20943, comment 43


Ignore:
Timestamp:
03/08/2015 04:19:54 PM (10 years ago)
Author:
sandyr
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20943, comment 43

    initial v1  
    1 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.
    2 
    3 I tried with :
    4 <table>
    5 <tbody>
    6 <tr>
    7 <td>
    8 <ul>
    9 <li>
    10 <p>Test one</p>
    11 <p>Test two</p>
    12 <p>Test three</p>
    13 </li>
    14 </ul>
    15 </td>
    16 </tr>
    17 </tbody>
    18 </table>
    19 
    20 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.
     1Should consider the blocklist of html elements to maybe leave the <p> tags intact.