From 6b9d74776de4a2b8ca015b19d70baa05ecf31ea6 Mon Sep 17 00:00:00 2001 From: Walter Lee Davis Date: Thu, 7 May 2015 23:03:41 -0400 Subject: [PATCH] added pure-css placeholder recipe --- _posts/2009-01-01-ajax-inplaceeditor.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/_posts/2009-01-01-ajax-inplaceeditor.html b/_posts/2009-01-01-ajax-inplaceeditor.html index b244129..02300a6 100644 --- a/_posts/2009-01-01-ajax-inplaceeditor.html +++ b/_posts/2009-01-01-ajax-inplaceeditor.html @@ -489,6 +489,21 @@

In-Place edits only by externalControl

}

maybe someone can add a flag like ‘only External Control ? to add this to the trunk ..

+

Pure CSS way to add placeholder text to an empty editable text item:

+
+
+

Small extension to editor to add a text in case field is empty.


 /*
@@ -636,4 +651,4 @@ 

Validation.

return false; },
- \ No newline at end of file +