TinyMCEに関して
TinyMCE3.3.9.2限定かどうかはわかりませぬが。
/assets/plugins/tinymce/jscripts/tiny_mce/tiny_mce.jsについて。
Firebugsで見た感じ、実際のIFRAMEタグの書き出しは
r=n.add(q.iframeContainer,"iframe",{id:E.id+"_ifr",src:C||'javascript:""',frameBorder:"0",style:{width:"100%",height:y}});
あたりなんですけども、実際のIFRAMEタグの内側部分はそのちょっと前
E.iframeHTML=F.doctype+'<html><head xmlns="http://www.w3.org/1999/xhtml">';
から始まる連なりっぽい。
で、テキスト入力エリアの制御はその直前
if(y<100){y=100}
で制御しているようです。おそらく。
TinyMCEを使わない場合のテキスト入力エリアの高さの制御は、
/manager/actions/mutate_content.dynamic.phpのline681-
<!-- Content --> <div class="sectionHeader" id="content_header"><?php echo $_lang['resource_content']?></div> <div class="sectionBody" id="content_body"> <?php if (($content['richtext'] == 1 || $_REQUEST['a'] == '4') && $use_editor == 1) { ?> <div style="width:100%"> <textarea class="phptextarea" id="ta" name="ta" style="width:100%; height: 400px;" onchange="documentDirty=true;"><?php echo htmlspecialchars($content['content'])?></textarea> <span class="warning"><?php echo $_lang['which_editor_title']?></span> <select id="which_editor" name="which_editor" onchange="changeRTE();"> <option value="none"><?php echo $_lang['none']?></option> <?php // invoke OnRichTextEditorRegister event $evtOut = $modx->invokeEvent("OnRichTextEditorRegister"); if (is_array($evtOut)) { for ($i = 0; $i < count($evtOut); $i++) { $editor = $evtOut[$i]; echo "\t\t\t",'<option value="',$editor,'"',($which_editor == $editor ? ' selected="selected"' : ''),'>',$editor,"</option>\n"; } } ?> </select> </div> <?php $replace_richtexteditor = array( 'ta', ); } else { echo "\t".'<div style="width:100%"><textarea id="ta" name="ta" style="width:100%; height: 400px;" onchange="documentDirty=true;">',htmlspecialchars($content['content']),'</textarea></div>'."\n"; } ?> </div><!-- end .sectionBody -->
のあたりのようです。
…400pxは改変後の数字かもしれませんが。
ともあれ、テキスト入力エリアの高さを変更する場合の参考に。