Erin Dalzell

Mousetrap

Erin Dalzell
Mousetrap

statamic-mousetrap

A Statamic V2 add-on that allows you to edit your content in the CP by pressing Esc anywhere on your site.

Installing

  1. Copy the Mousetrap folder to your addons directory;

Usage

Add a {{ mousetrap:js }} to your layout footer where you load your other JS.

Go to a page on your site, then hit the Esc key and you should be redirected to edit url in the CP

LICENSE

MIT License