JSFiddle - React, Tailwind, and code Playground
HTML
<textarea id="input" row="1">введите текст из MSWord</textarea>
CSS
textarea {
height: 200px;
width: 400px;
resize: none;
}
JavaScript
var isCtrl = false;
$(document).keyup(function (e) {
if(e.which == 17) {isCtrl=false;}
}).keydown(function (e) {
if(e.which == 17) {isCtrl=true;}
if(e.which == 86 && isCtrl == true) {
$(this).val('<li>' + $(this).val().replace(/\r?\n/g, '</li>\n<li>') + '</li>');
}
});