create a simple interactive editor