React.js based text editor