Fix KB bold/italic etc. shortcuts in Webkit.

Webkit needs a special placeholder text node as it can't focus empty text nodes.
This was being cleaned up too early, before the user had a chance to enter any
text.