Opened 9 years ago
Closed 7 years ago
#43684 closed defect (bug) (worksforme)
append blank line in front of a table when switching from text to visual editor
| Reported by: | max345 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | TinyMCE | Version: | 4.9.4 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
" " 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.
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Can't reproduce this in WP 5.2. Also this is now superseded by the block editor. The Table block works well there.
Closing as worksforme. Feel free to reopen if this still happens and needs fixing in the classic editor.