I am currently using a f.text_area
for users to enter text inside a form. Since those entries can be quite long, I want to offer my users to format the input with bold, italic and underlines.
Ideally, users access the formatting options with the common cmd+b
, cmd+i
and cmd+u
.
I know about contenteditable
but since this can't be applied to a textarea inside a form but only to a div, this does not seem to work inside a rails form.
What other options are there that play nicely with form_for
?