Skip to content

Instantly share code, notes, and snippets.

@frenchesco
Forked from JoelBesada/README.md
Last active October 25, 2018 09:27
Show Gist options
  • Save frenchesco/7556270 to your computer and use it in GitHub Desktop.
Save frenchesco/7556270 to your computer and use it in GitHub Desktop.
A backtick command to make a page editable

This is a command for Backtick. It allows you to make a web page editable. Once you run the command you can click anywhere on the page and delete elements or type something.

To use this:

  1. Download Backtick.
  2. Copy the following ID of this Gist 7556270.
  3. Paste the ID into the custom commands field in the Backtick settings. You can easily access the settings by clicking the Backtick icon on the command execution console.
javascript:document.body.contentEditable='true';document.designMode='on';event.preventDefault();
{
"name": "Edit page",
"description": "Make the current page editable.",
"icon": "http://icons.backtick.io.s3.amazonaws.com/backtick.png"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment