Editor Modal Textarea?
Editor Modal Textarea?
DNSinSC
Posts: 19Questions: 3Answers: 0
I am using Editor to edit fields that may contain a paragraph or more of text, but the modal that pops up on edit is a single-line text box just big enough for a name. I would like to change the single-line text box in the modal to a multi-line text area when editing. Is this possible? I am using bootstrap 5 styling if that matters...
Thank you!
Replies
See the Field type plugins page. You can use CKEditor, Quill or TinyMCE. I've used Quill for my projects. Choose the one that matches the features you need.
Kevin
Just to add to that, if you just want plain text, use the built in
textarea
field type.If however, you want rich text editing, then yes, you'll need a plug-in such as those that Kevin suggests.
Allan
Thank you, Alan! I searched 19 different ways but didn't find it. Adding "type": "textarea" to the js worked for plain text.
Thank you, Kthornren! I decided to get fancy and try Quill, which looks great, but the modal window is squashed and small. The Quill toolbar spans three lines, and you cannot drag to enlarge. How did you overcome this?