Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
Clipboard.copy(document.getElementById('current-id').innerText);
textArea.value = text;
textArea.value = document.querySelector(text).innerText;
Clipboard.copy('#current-id');