import {enableTabToIndent} from 'indent-textarea';
enableTabToIndent('textarea');
Press tab or shift+tab to test it on real code:
import {enableTabToIndent} from 'indent-textarea';
enableTabToIndent('textarea');
Press tab or shift+tab to test it on real code: