editor basic functionality implemented