Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
419 views
in Q2A Core by
When I try to answer a question, sometimes, the answer is pretty long, it may needs 50 lines, but the answer form is only 12 lines, I wish it can be enlarged. How do I do? in a .css file?

2 Answers

+1 vote
by
selected by
 
Best answer

There is an arrow on the bottom right of the CKEditor that allows you to resize the answer form while writing an answer:

If you want to set a different default initial size then you should edit the file qa-plugin/wysiwyg-editor/qa-sysiwyg-editor.php and add this line (with the number you want):

"    height: 1000,",

immediately after this line:

"    defaultLanguage: 'en',",

by
pupi1985, thanks

however, how do I do if I use basic editor?
by
Locate the calls to function qa_editor_load_field in files question-post.php, question-view.php and ask.php. The 6th parameter is the amount of rows. Answers/Questions have a value of 12 while comments a value of 4.
+1 vote
by

Autoglow may be useful for you. However, it has some side effects. I recommend to test and tune it on local environment. 

...