add placeholder support for editor