demo for editor