JSFiddle - React, Tailwind, and code Playground

HTML

Content:
<textarea id="content"></textarea>
<br/>
Name:
<br/>
<input type="text" id="username"/>
<br/>
Some other field
<br/>
<input id="someOtherField"/>

JavaScript

$(document).ready(function(){
    var id;
    $('#content').on('blur',function(){
    $(":input").focus(function(){
        id = this.id;
        if(id != 'username' && id != 'content'){
         $('#content').focus();   
        }
        });       
    });
});