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 nullselectRange@http://localhost/libs/KendoUI/kendo.all.min.js:9:2152299
Can you help please?
Thanks
Craig
1 Answer, 1 is accepted
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