editor: remove more legacy code