Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
Error when loading igHtmlEditor in firefox
posted

We are using igHtmlEditor 14.1.20141.1020 in an ASP.NET MVC application. Loading is done as shown below in a .cshtml file:


$.ig.loader({
scriptPath: "@Url.Content("~/js/infra/")",
cssPath: "@Url.Content("~/css/third-party/infra/")",
resources: "igHtmlEditor"
});

$.ig.loader(function () {
$('#@ViewBag.HtmlEditorId').igHtmlEditor({
inputName: "Post", width: "98%", height: "48em", showInsertObjectToolbar: false, customToolbars: GetCustomToolbar()
});

When executing thr above, the following error is thrown in infragistics.ui.htmleditor.js:

this.workspace.contentWindow.document.execCommand("styleWithCSS", showUI, comandValue); // Line 913

Can someone please help us in resolving the issue?

Thanks.

Parents
  • 8421
    posted

    Hello Furqan,

    Could you provide any more details about the error message you are getting? Is it "NS_ERROR_FAILURE" and if so do you have your igHtmlEditor located inside of a div that has display:none specified? If so, then this may be an issue with Firefox:

    https://bugzilla.mozilla.org/show_bug.cgi?id=586366#c1

    Please provide me with more details about how you are encountering this issue and how you have your page laid out.

Reply Children