Block Editor: Show Gutenberg Context Menus on Right Click

Just plain essential. You expect to right click and see the “right click menu” – now you can. Baddabingbaddabang! This version uses vanilla JavaScript only without relying on jQuery. You don’t really need the jQuery version, but if you want it: Look Here

What it does…

In the Block Editor’s outline panel, when you right-click on any block / element, this script will attempt to open the context menu for you.

Why it does it…

To make your life easier. You’re welcome.

Use the JSON file for easily importing into your CodeSnippetsPro plugin. Use the PHP file or just copy/paste the code sample into your functions.php if you’re not using CodeSnippetsPro.

Related Snips

Leave a Reply

Your email address will not be published. Required fields are marked *