Skip to content

Proposal: allow all options to be passed through trix_editor_tag #20

@kylefox

Description

@kylefox

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions