Fix rich editor loosing focus on (shift + ) tab

 - prevent the naviation away from the editor when pressing tab or shift + tab
 - fix #1622