Talk:TabKeyInserter

Unselected textarea
The script also works if the textarea is not selected, resulting inserting the long space to the beginning of the textarea. I think you should use something like document.activeElement.nodeName just to make sure that the selected element is the editing textarea. Anyway your script is a really cool idea, it feels like notepad. Thank you for making it! :) Penguin-Pal   (talk)  16:06, October 9, 2013 (UTC)