First off, thanks for the great library 👍 Dropping it in was a breeze!
I'd like to pass some extra attributes to the <trix-editor> tag. For example, required="true" and some data-* attributes.
I noticed that trix_editor_tag only passes specific options into the underlying call to content_tag.
What do you think about passing options directly into content_tag?
Cheers,
Kyle.
First off, thanks for the great library 👍 Dropping it in was a breeze!
I'd like to pass some extra attributes to the
<trix-editor>tag. For example,required="true"and somedata-*attributes.I noticed that
trix_editor_tagonly passes specific options into the underlying call tocontent_tag.What do you think about passing
optionsdirectly intocontent_tag?Cheers,
Kyle.