I want to make an editor for my webpage so I can easily edit my pages. I'm using a textarea
for the editor. The textarea
is inside of a form.
Therefore, if I use tab to indent, the cursor jumps to the Submit button.
I found some methods to set the tabindex to -1, but this won't help.
Is there some way to disable the tab function?
<form method='GET' action='pages/save.php'>
<textarea id='textbox' class='form-control' name='textarea' rows='20' cols='80'></textarea><br />
<input id='safebutton' type='submit' value='Save' />
</form>