Collapsible editor