editor: Add support for select type