|
@@ -19,12 +19,7 @@ function template_control_richedit($editor_id, $smileyContainer = null, $bbcCont
|
|
|
|
|
|
echo '
|
|
echo '
|
|
<div>
|
|
<div>
|
|
- <div style="width: 98.8%;">
|
|
|
|
- <div>
|
|
|
|
- <textarea class="editor" name="', $editor_id, '" id="', $editor_id, '" rows="', $editor_context['rows'], '" cols="600" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onchange="storeCaret(this);" tabindex="', $context['tabindex']++, '" style="height: ', $editor_context['height'], '; ', isset($context['post_error']['no_message']) || isset($context['post_error']['long_message']) ? 'border: 1px solid red;' : '', '">', $editor_context['value'], '</textarea>
|
|
|
|
- </div>
|
|
|
|
- <div id="', $editor_id, '_resizer" class="richedit_resize"></div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <textarea class="editor" name="', $editor_id, '" id="', $editor_id, '" rows="', $editor_context['rows'], '" cols="600" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onchange="storeCaret(this);" tabindex="', $context['tabindex']++, '" style="height: ', $editor_context['height'], '; ', isset($context['post_error']['no_message']) || isset($context['post_error']['long_message']) ? 'border: 1px solid red;' : '', '">', $editor_context['value'], '</textarea>
|
|
</div>
|
|
</div>
|
|
<input type="hidden" name="', $editor_id, '_mode" id="', $editor_id, '_mode" value="0" />
|
|
<input type="hidden" name="', $editor_id, '_mode" id="', $editor_id, '_mode" value="0" />
|
|
<script type="text/javascript"><!-- // --><![CDATA[
|
|
<script type="text/javascript"><!-- // --><![CDATA[
|
|
@@ -304,7 +299,7 @@ function template_control_richedit($editor_id, $smileyContainer = null, $bbcCont
|
|
echo '
|
|
echo '
|
|
})
|
|
})
|
|
$("#', $editor_id, '").data("sceditor").createPermanentDropDown();
|
|
$("#', $editor_id, '").data("sceditor").createPermanentDropDown();
|
|
- $(".sceditor-container").width("100%");
|
|
|
|
|
|
+ $(".sceditor-container").width("100%").height("100%");
|
|
});
|
|
});
|
|
// ]]></script>';
|
|
// ]]></script>';
|
|
}
|
|
}
|