MDL-27896 editor - added sanity check to pick wrong context passed to editor creation