[#2782] Only setup editor views if we've got ui enabled.