Index: trunk/extensions/SemanticForms/includes/SF_FormUtils.php |
— | — | @@ -796,7 +796,14 @@ |
797 | 797 | if ( realTextarea ) |
798 | 798 | { |
799 | 799 | // Create the editor instance and replace the textarea. |
800 | | - oFCKeditor.Height = 300; |
| 800 | + var height = $wgFCKEditorHeight; |
| 801 | + if (height == 0) { |
| 802 | + // the original onLoadFCKEditor() has a bunch of |
| 803 | + // browser-based calculations here, but let's just |
| 804 | + // keep it simple |
| 805 | + height = 300; |
| 806 | + } |
| 807 | + oFCKeditor.Height = height; |
801 | 808 | oFCKeditor.ReplaceTextarea() ; |
802 | 809 | |
803 | 810 | FCKeditorInsertTags = function (tagOpen, tagClose, sampleText, oDoc) |