Opened 10 years ago
Closed 9 years ago
#27929 closed defect (bug) (worksforme)
Tables in visual editor get scaling boxes
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.5 |
Component: | TinyMCE | Keywords: | close |
Focuses: | Cc: |
Description
If a simple table is created through the text editor, when I place the cursor inside a table cell while using the visual editor (WordPress 3.9, Chrome on Mac) the scaling boxes that now appear around images also appear around the table.
This wasn't expected behavior to me; are tables considered "media"?
Simple table example:
<table> <tbody> <tr> <td>A</td> <td>B</td> </tr> </tbody> </table>
Cursor not in cell:
Cursor in cell:
Attachments (1)
Change History (8)
#2
@
10 years ago
- Component changed from Editor to TinyMCE
- Milestone changed from Awaiting Review to 3.9.1
Moving to 3.9.1 for review/investigation/discussion.
#3
@
10 years ago
One situation in which this is useful is when your theme doesn't add width: 100%;
for table
in editor-style.css
. I'd be really difficult if you can't put you cursor in one of the table cells. That doesn't make it the right solution though.
If the theme sets the width: 100%;
, the horizontal and diagonal scaling boxes are useless.
Scaling boxes would also be useful if you could align tables, but currently that's not possible.
#4
@
10 years ago
Above a screenshot of a table added with the table plugin when a there is no width: 100%;
.
#5
@
10 years ago
- Milestone changed from 3.9.1 to Awaiting Review
- Version changed from 3.9 to 3.5
I get them in the TinyMCE 3.x demo, and also in WordPress before 3.9: http://www.tinymce.com/tryit/3_x/full.php
I guess it's kind of weird in some ways, but I'm not sure this is really a bug.
This happens in TinyMCE demo as well: http://www.tinymce.com/tryit/full.php.