set the editor value from the console