Editor: better placeholder handling