View Full Version : changing the quick response text area size
ohadpartuck
05-17-2012, 07:46 AM
Hi,
I've looked this up in the forums but nothing worked..
I've changed the
postlist.css
form#quick_reply textarea {
height:100px; //changed to 250px;
}
and I got something weird.
and styled took effect only in FF (not in chrome or IE)
and only in my computer. when I checked somewhere else- it's the same small quick response.
ohadpartuck
05-22-2012, 06:23 AM
I think that it's managed by a script located here clientscript/ckeditor/themes/default/theme.js
more specifically in rows 104..
still doesn't work though.
It seems that the size of the quick response is saved in the cache or something because when I resize a quick response area in a certain browser , close it and reopens it in my forum -
it remebers the exact size of textarea !
how can this be?
woodscooter
07-25-2012, 10:33 PM
Same as you, I want to change the default height of the Quick Reply box.
I believe it is set up in ckeditor_config.js, but I cannot find where that script is kept. Just above the Line 104 you refer to in your post, look at Line 99. It uses a variable 'editor.config.height'. I think that's what is set up in ckeditor_config.js.
For logged-in users, the height of the QR box is held in a cookie, called 'editor_height'. Once that is set up on someone's computer, the box will stay at the last-set size, unless they change browser or delete their cookie.
Someone has found the answer, though. It's at https://vborg.vbsupport.ru/showthread.php?t=278966.
The defaults are set up in includes/functions_editor.php. Search for the variable $default_height. It occurs several times, setting the text box height for different instances of the text editor.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.