react-quill icon indicating copy to clipboard operation
react-quill copied to clipboard

How do you add rows attribute?

Open doverradio opened this issue 5 years ago • 2 comments
trafficstars

Hello, I got it to render the WSIWYG but I don't see how to treat this like a textarea and add the rows="15" attribute. Is there a way? currently it only shows the visible space of one line. I want it to be like 15 rows height. How do I do that?

doverradio avatar May 18 '20 03:05 doverradio

Anu solution??

christiantigre avatar Sep 04 '20 17:09 christiantigre

The examples linked in the README show how to use an expanding-height text box using CSS. You can also do fixed height the same way. .ql-editor { height: 150px }, where 150 = 15 * 10px (let's say that's your line-height).

alexkrolick avatar Sep 04 '20 18:09 alexkrolick