-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: allow all options to be passed through trix_editor_tag
#20
Comments
Plus one on this. |
Agreed. This would be awesome. |
@kylefox Thanks for opening up this issue! I'd definitely be open to having this be a thing. Please feel free to send over a pull request. |
it would be great if it could work with client_side_validations |
The editor itself only uses autofocus and placeholder. I've got a MR for this that might require some discussion about what needs to be passed to the hidden input and what needs to be passed to the trix-editor-tag |
PR #67 (including specs + README) submitted! |
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_tag
only passes specific options into the underlying call tocontent_tag
.What do you think about passing
options
directly intocontent_tag
?Cheers,
Kyle.
The text was updated successfully, but these errors were encountered: