adding const to editor

prompts for value