Feature/editor directive