Opened 3 years ago

Last modified 2 years ago

#15073 new feature request

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

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

Description

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)

  • Type changed from enhancement to feature request

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.
  • Milestone changed from Awaiting Review to Future Release
  • Keywords html added; html, removed

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.