Tell your story...
diff --git a/controllers/editor.php b/controllers/editor.php index 995438b..a66c188 100644 --- a/controllers/editor.php +++ b/controllers/editor.php @@ -33,9 +33,9 @@ $app->get('/editor/oembed', function() use($app) { $app->response()->body($json); }); -$app->get('/appcache.manifest', function() use($app) { - $content = partial('partials/appcache'); +// $app->get('/appcache.manifest', function() use($app) { +// $content = partial('partials/appcache'); - $app->response()['Content-type'] = 'text/cache-manifest'; - $app->response()->body($content); -}); +// $app->response()['Content-type'] = 'text/cache-manifest'; +// $app->response()->body($content); +// }); 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; +} diff --git a/views/editor.php b/views/editor.php index 5036723..fc4fcc6 100644 --- a/views/editor.php +++ b/views/editor.php @@ -1,5 +1,5 @@ - +
Tell your story...