title: Trix editor not working properly with Rails
body: <p>I have a Rails 6 application that uses bootstrap-form and the "trix" gem. I can't use ActionText because it requires webpacker which I can't use for a number of reasons.</p>
  
  <p>In my form I do this:</p>
  
  <pre><code>&lt;%= f.rich_text_area :content, layout: :vertical, rows: 20, required: true %&gt;
  </code></pre>
  
  <p>But the editor is broken, see below:</p>
  
  <p><a href="https://i.stack.imgur.com/bTtyt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bTtyt.png" alt="broken trix editor"></a></p>
  
  <p>It gets even worse if I try to drop in an image:</p>
  
  <p><a href="https://i.stack.imgur.com/0vTDi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0vTDi.png" alt="trix editor broken file upload"></a></p>
  
  <p>There are no errors in the logs or console, I am not overriding any of the CSS or JS.</p>
  
  <p>Am I doing something wrong?</p>