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.