U4-9158 - Table in TinyMCE is missing right-click actions

Created by Bjarne Fyrstenborg 07 Nov 2016, 14:41:36 Updated by Bjarne Fyrstenborg 02 Jun 2017, 10:28:52

Is duplicated by: U4-6663

When using tables in TinyMCE it is really missing the right-click action menu to add/delete row and columns. https://www.tinymce.com/docs/demo/basic-example/

It is something that was a part of Umbraco 4 & 6, but not sure if it ever has been included in v7?

Furthermore at some point I think the TinyMCE toolbar was sticky, but it seems this has changed in the recent versions (not sure when it was changed).


Bjarne Fyrstenborg 04 Mar 2017, 14:31:25

I noticed it is possible to enable the right-click context menu, by adding this in tinyMceConfig.config, but it is not enabled by default.

   <plugin loadOnFrontend="true">contextmenu</plugin>

   <config key="contextmenu">link image inserttable | cell row column deletetable</config>

Maybe it should be included by default - you can always disable it then. I think it is easier it right-click on the table instead of go to the toolbar, e.g. to insert a new row.

However it would be nice if it only added the table context menu options, if table is enabled for the datatype.

Brian Powell 02 Jun 2017, 01:18:32

I like the right-click menu, but it unfortunately knocks out the browser's built-in right-click menu which means you lose the ability to correct spelling errors. For this reason, I've disabled it on my installs. Keeping it disabled probably seems like the best course of action to me. If people want it, they can add it to the config. Perhaps the lines could be in the config but commented out.

Bjarne Fyrstenborg 02 Jun 2017, 10:28:52

Well you can hold ctrl + right-click if you want the browser's built-in right-click menu. Not sure if content editors prefer that or not. But it seems to be the default behaviour in TinyMCE.

However I also like the newer inline context-menu, when placing the cursor in a table cell. Not sure in which version of TinyMCE this feature was added. https://www.tinymce.com/docs/demo/basic-example/

Priority: Normal

Type: Feature (request)

State: Submitted


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.4.3, 7.5.1, 7.5.2, 7.5.3, 7.5.4, 7.5.5, 7.5.6, 7.5.7, 7.5.8, 7.5.9, 7.5.10

Due in version:


Story Points: