Skip Navigation LinksHome Page > Forums > SpiraTeam Forums > SpiraTeam Issues & Qu... > Enhancement Request: Aut...
// Change the display box to be 100% of height even if that requires scrolling in the window oRteContainer.find("div.rteDiv").css("min-height","100px").css("height", "auto"); oRteContainer.css("height", "auto").parent().css('height','auto');// Wait until until the Rich Text Editor Display Box is replaced with the Rich Text Editor Edit Box// (Wait until we can find the Rich Text Editor Edit box)oRteContainer.find("iframe[id^='frm_cplMainContent_']").length > 0
// set the height of the Rich Text Editor edit iframe to its ideal height // (ideal height is the display box's height plus a little but no more than window height minus the rich text editor's toolbar height) oRteContainer.find("iframe[id^='frm_cplMainContent_']").css('height', iIdealEditHeight); // also make it resizable oRteContainer.find("iframe[id^='frm_cplMainContent_']").css('resize', "vertical");
// Wait until the Rich Text Editor edit box is replaced with the Rich Text Editor display div// (Wait until the display box is displayed)oRteContainer.find("div.rteDiv").css("display") != "none"// Then execute the on-page-load code again (above)
And if you have any questions, please email or call us at +1 (202) 558-6885