Opened 11 years ago
Closed 8 years ago
#33795 closed defect (bug) (invalid)
Table alignment in WordPress 4.1.7
| Reported by: | jbrule | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | TinyMCE | Version: | 4.1.6 |
| Severity: | normal | Keywords: | dev-feedback |
| Cc: | Focuses: |
Description
We are having issues working with tables that have an alignment set. The table cells are not growing to meet the size of the table they are contained in. It looks like the issue has to do with the .aligncenter{ display:block rule } rule. With that disabled the table displays correctly in the editor.
How to reproduce
# Create a table using the table tool.
# Enter text into each of the cells
# Select the table and go to Edit Table Properties and select "center" alignment.
Attachments (1)
Change History (4)
#1
@
11 years ago
- Keywords dev-feedback added
I can't find a table tool in plain WordPress visual editor, but a table tool appears after installing TinyMCE Advanced plugin.
That in place I can reproduce this in trunk (4.4-alpha-33955).
Testing the same alignment in the demo at TicyMCE home http://www.tinymce.com/ with TinyMCE 4.2.5 does not produce the problem.
So I really don't know if this should be classified as bug in core, TinyMCE Advanced plugin or upstream TinyMCE.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Image of center aligned table in the TinyMCE editor.