In version 0.10, I used this CSS:
And then manually added or removed the
data-placeholder attribute on focus and blur of the editor adding it whenever bluring if the field was empty, otherwise removing it.
But it seems 0.21 doesn't like me to do that any more. Running
shows the placeholder for a split-second before removing it again.
Looking at the discussion above, it is not clear to me whether the caret issue has been resolved. From what I can tell, the placeholder is not removed upon focus because the decorations function of the plugin is not called when focusing. It therefore requires me to input at least thing for the placeholder text to be removed.