Skip to content

Instantly share code, notes, and snippets.

@drakedevel
Last active April 22, 2018 05:05
Show Gist options
  • Save drakedevel/b48b5f04db4cc285f3474b2543f74394 to your computer and use it in GitHub Desktop.
Save drakedevel/b48b5f04db4cc285f3474b2543f74394 to your computer and use it in GitHub Desktop.
Userscript to remove placeholder text in Dropbox Paper
// ==UserScript==
// @name De-inspire Paper
// @namespace https://hax.so/
// @version 0.2
// @description Remove placeholder text in Dropbox Paper
// @author Andrew Drake <adrake@adrake.org>
// @match https://paper.dropbox.com/doc/*
// @grant GM_addStyle
// ==/UserScript==
(function() {
'use strict';
GM_addStyle(`
#editor-1 .editor-blank-title > div.ace-line:first-child::before {
content: "<Title>";
}
#editor-1 .editor-blank-text > div.ace-line:first-child + div.ace-line::before {
content: "<content>";
}
.task-placeholder.focused-line ul::before {
content: "<task>";
}
`);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment