Restrict selectable item types in structured editor