JSFiddle - React, Tailwind, and code Playground

HTML

<div class="name" data-name="Имя">Имя</div>
<textarea></textarea>

CSS

.name {
    text-decoration: underline;
    cursor: pointer;
}

JavaScript

$('.name').on('click.replayToComment',function(){
    var name = $(this).data('name');
    $('textarea').val(name);
})