summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/editor/editor.js3
-rw-r--r--public/editor/style.css4
2 files changed, 7 insertions, 0 deletions
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;
+}