bootstrap_form icon indicating copy to clipboard operation
bootstrap_form copied to clipboard

Rich text area not auto-expanding vertically

Open markburns opened this issue 6 years ago • 2 comments

A picture is worth a thousand words.


image

= form.rich_text_area :summary
= form.submit "Save", class: 'btn-primary'

I haven't dug into the CSS yet to understand what's happening, but I'm not sure this is working out of the box as you might expect it to.

markburns avatar Jul 25 '19 10:07 markburns

seems to be some clash with the .form-control class.

~~Workaround:~~ <- This isn't actually persisting

= form.label :summary
= form.hidden_field :summary
trix-editor id="foo" input="foo_summary_trix_input_foo" role="textbox"
  == form.object.summary

image

markburns avatar Jul 25 '19 11:07 markburns

Thanks for the report. I will try to take a look at this in the near future, but I'm pretty busy at work these days. If you want to submit a pull request, I'd be happy to look at it. If you decide to work on a PR, assign the bug to yourself (look for the link in the upper-right area of this page.

lcreid avatar Aug 04 '19 22:08 lcreid