From b92daf96f5ae40abaadc3f41e448fcc75824334b Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sun, 10 May 2015 14:14:35 +0200 Subject: disable manifest during development, set placeholder text --- public/editor/editor.js | 3 +++ public/editor/style.css | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'public/editor') diff --git a/public/editor/editor.js b/public/editor/editor.js index bdf0580..2c4972f 100644 --- a/public/editor/editor.js +++ b/public/editor/editor.js @@ -26,4 +26,7 @@ $(function () { } } }); + $('.editable').focus(function(){ + $('.placeholder').removeClass('placeholder'); + }); }); diff --git a/public/editor/style.css b/public/editor/style.css index b72bf92..bec46db 100644 --- a/public/editor/style.css +++ b/public/editor/style.css @@ -95,3 +95,7 @@ blockquote { border-bottom: 1px solid #dbdbdb; border-top: 1px solid #dbdbdb; } + +.editable .placeholder { + color: #ccc; +} -- cgit v1.2.3