Make WordPress Core

Opened 4 years ago

Last modified 3 years ago

#15073 new feature request

Add Table Buttons to Visual Editor Kitchen Sink (2nd row)

Reported by: lloydbudd Owned by:
Milestone: Future Release Priority: low
Severity: minor Version:
Component: TinyMCE Keywords: table html tables,
Focuses: Cc:


Add Table Buttons to Visual Editor Kitchen Sink (2nd row)

This regular comes on the forums. Tables are an infrequent, but very natural way to present information. In an edu environment they are essential.

I suspect you have used tables in your posts, but have the expertise to enter the html directly yourself.

I think the general usefulness, and unobtrusive 2nd row experience makes this a candidate for core, and not plugin material.

Change History (4)

comment:1 nacin4 years ago

  • Type changed from enhancement to feature request

comment:2 azaozz4 years ago

From implementation point of view there would be two areas that would need attention:

  • There are eleven default table buttons in TinyMCE (third row). Adding all would extend the second row a lot. We can probably remove 4 without limiting the functionality much but even 7 new buttons make the toolbar quite longer.
  • There are some rare cases when wpautop may break complex tables, usually a paragraph in a table whitin another table, etc.

comment:3 nacin3 years ago

  • Milestone changed from Awaiting Review to Future Release

comment:4 aquaglow3 years ago

  • Keywords changed from table html, tables, to table html tables,

I'm interested in this feature also, and would like to try adding it.

When specifying the TinyMCE buttons, it's currently a single option "tablecontrols" which adds all 11 table buttons. Would this be acceptable on a third row (also revealed by "show kitchen sink")? Even if you remove a few, putting them on the second row will cause problems on smaller resolutions.

Any advice on implementation would be useful, I'm still finding my way around the codebase.

Note: See TracTickets for help on using tickets.