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.

Download JSON for importing into Code Snippets Pro
Download PHP for adding as a plugin or copying into functions.php
View on…

See the code…

<?php