Add array support to editor