insertHTML does not work in Firefox

1 Answer 6 Views
Editor
Craig
Top achievements
Rank 1
Craig asked on 25 Dec 2025, 12:12 PM

Hi

I'm using Kendo UI for jQuery.

I have the following code which works fine in Chrome and Edge on Windows

        var ke = $('#editor').data("kendoEditor");
        ke.value('');
        ke.exec("insertHtml", { html: 'hello' });
        ke.update();

but in Firefox i get the following issue

jQuery.Deferred exception: can't access property "removeAllRanges", t is null selectRange@http://localhost/libs/KendoUI/kendo.all.min.js:9:2152299

Can you help please?

Thanks

Craig

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 26 Dec 2025, 08:01 AM

Hello Craig, 

 

Thank you for reaching out.

I have tested this code snippet with the latest version in both FireFox and Chrome and it seems to work properly on my side:
https://dojo.telerik.com/nTmREFZZ/6 

 

Regards,
Eyup
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Editor
Asked by
Craig
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or