When i click the tab button in editor, focus is going to the control to a button which is outside the editor. I want the focus/cursor should go to next tab position when i hit tab button.
This behavior is by design. The tab key is used to switch between widgets on the page. Since there are no tab positions in HTML (like in Word), we do not insert such into the markup.