Dropdown directives, split editor to views