ActionText always wraps content in <div class="trix-content">

This behaviour is hard-coded in app/views/action_text/content/_layout.html.erb

I think it should be possible to customize the wrapper element – the current behaviour breaks backwards compatibility for us when migrating from TinyMCE to ActionText.

Just define your own partial in your app’s app/view folder and it will be used instead of that default partial.

Of course. Thank you.