[wp-trac] [WordPress Trac] #43684: append blank line in front of a table when switching from text to visual editor
WordPress Trac
noreply at wordpress.org
Tue Apr 3 12:14:15 UTC 2018
#43684: append blank line in front of a table when switching from text to visual
editor
--------------------------+-----------------------------
Reporter: max345 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 4.9.4
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
" " is appened in front of a table when switching from text editor to
visual editor if the cursor is at the begining of the textarea or the
textarea doesn't have focus.
To reproduce this bug, create a new post, choose tab "text editor", add
the following:
{{{
<table>
<tbody>
<tr>
<td>hello</td>
</tr>
</tbody>
</table>
}}}
Then save draft and change to "visual editor".
Now the table has a blank line above and if you return to text editor you
see this:
{{{
<table>
<tbody>
<tr>
<td>hello</td>
</tr>
</tbody>
</table>
}}}
This bug happens in 4.9.x, not in 4.8.5.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43684>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list