By default tab symbol in textarea equals to the width of 8 spaces. Is it possible to change this value to 4 for example?
I am mostly interested in using this in Chrome browser.
By default tab symbol in textarea equals to the width of 8 spaces. Is it possible to change this value to 4 for example?
I am mostly interested in using this in Chrome browser.
The only way you could achieve this is to capture the keyboard onkeyup event, check if a tab was pressed, insert 4 spaces and stop/cancel the event at that point.