Hello... I am using the JQUERY igHTMLEditor control and I was wondering if there was a configuration feature that allowed the height of the control to automatically fit the content?
Thanks in advance,
Hello Gerald,
Thank you for contacting Infragistics Developer Support.
Currently there is no option to make the igHtmlEditor auto scale based on its content but you can try to set it once the content has been rendered.
Something along the lines of
$("#htmlEditor").igHtmlEditor({
// pass your initialization options
});
$("#htmlEditor").igHtmlEditor("setContent", someContent, "html");
var htmlEditorDocument = $($("#htmlEditor").igHtmlEditor("contentDocument"));
$("#htmlEditor").igHtmlEditor("option", "height", htmlEditorDocument.height());
Please feel free to contact me for further assistance.