generalise to all editor instances