Disable key inputs in editor when typing in a field