score:0

 <div
    className="comment-body"
    ref={(ref) => { this.commentref = ref; }}
    onKeyDown={addToken}
    onBlur={addComment}
    contentEditable
    data-text="Enter text here"
>
    {renderComments()}
</div>

Related Query

More Query from same tag