Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Q2A Core by
I would like to use the basic editor for the "More information about your question" but the basic editor only gives a textarea of 1 line. I know it is resizable with the mouse, but I would like its default height to be greater.

I have been playing around with the CSS but I was only able to increase the height of all the 3 fields on the qa-form-tall form.

1 Answer

+1 vote

In qa-editor-basic.php, you can change this line:

'rows' => $rows,

... to something like ...

'rows' => $rows*2,

Or you can find instances of $editor->get_field in the source code to change the $rows parameter differently for different uses of the editor.

Thanks man. Quick answer as always.