Skip to content

Comments

Fix form attribute being discarded in rich_text_area_tag#740

Open
ophilbert wants to merge 1 commit intobasecamp:mainfrom
ophilbert:fix-form-attribute
Open

Fix form attribute being discarded in rich_text_area_tag#740
ophilbert wants to merge 1 commit intobasecamp:mainfrom
ophilbert:fix-form-attribute

Conversation

@ophilbert
Copy link

lexxy_rich_textarea_tag was removing 'form' from html options.
This prevented using lexxy from outside a form like we can do with regular inputs:

<input form="myform">

This change was made in actionText when they extracted ActionText::TrixEditor

This attribute should pass through so we can associate lexxy editor with external form.

:form attribute was removed from options.
This attribute should pass through so we can associate lexxy editor with external form just like <input form="form_id">
@ophilbert ophilbert marked this pull request as ready for review February 20, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant