Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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