JSFiddle - React, Tailwind, and code Playground

HTML

<form action="">
  <textarea name="tweet" id="" cols="30" rows="10"></textarea>
  <input type="submit">
</form>

<ul id="tweets">
  
</ul>

CoffeeScript

$(document).on 'keydown', 'textarea', (e) ->
  if (e.metaKey || e.ctrlKey) && e.keyCode == 13
    e.preventDefault()
    $('#tweets').append("<li>foo</li>")