JavaScript for WordPress Forums Gutenberg Development Placeholders Reply To: Placeholders

Morgan Kay

Ah ha, I figured it out!

The problem is focus={ props.focus }: that puts the cursor in the field as soon as the block is added and removes the placeholder. Removing the automatic focus makes the placeholder appear.