The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Argh!! CKEditor default message window height!
Here's one that I bet will flummox everyone, but let's give it a try.
By default, the main "New message" window on CKEditor is 250px. I know this because I can get Firebug to identify this: Code:
<td id="cke_contents_vB_Editor_001_editor" class="cke_contents" role="presentation" style="height: 250px;"> So, I want to find what is generating that damn 250px in the code! I found this in clientscript/ckeditor/_source/core/themes.js: Code:
<td id="cke_contents_', name, '" class="cke_contents" style="height:', height, '" role="presentation">' BUT I have no idea where "height" is set. I tried taking that bit out and just hard coding a height in pixels - cleared cache and cookies, no joy. Then I found clientscript/ckeditor/_source/plugins/resize/plugin.js: Code:
config.resize_minHeight Finally, I found clientscript/ckeditor/ckeditor.js, which had this: Code:
r.resize_minHeight=250 Where the hell is this damned thing? A browser can't conjure up the value "250px" out of thin air, so it MUST be set somewhere! --------------- Added [DATE]1329871670[/DATE] at [TIME]1329871670[/TIME] --------------- Gaah! After posting all that, I found it. I was in totally the wrong place. It's in the much more straightforward normal vBulletin file: includes/functions_editor.php. Code:
$default_height =250; Scream! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|