Fixed behavior for some kinds of editors