Would like to check on how to achieve the following

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

I have an editor configured like this:
@(Html.Kendo().EditorFor(m => m.MyTextData)
.Tag("div")
.Name("MyTextData")
.Resizable(x =>
{
x.Content(true);
x.Min(120);
x.Max(400);
x.Toolbar(false);
})
.StyleSheets(css => css.Add(Url.ContentVersioned("~/Content/EditorStyles.css")))
.Encode(false)
.Events(e => e.Change("onEditorChangeOfContent"))
.Tools(tools => tools
.Clear()
.Bold()
.Italic()
.Underline()
.JustifyLeft()
.JustifyCenter()
.JustifyRight()
.InsertUnorderedList()
.InsertOrderedList()
.InsertLowerRomanList()
.InsertUpperRomanList()
.Indent()
.Outdent()
.FirstLineIndent()
.SubScript()
.SuperScript()
.TableEditingWithCellBorder()
)
)
When first clicking in the editor text area then clicking out of the text area without changing any of the text, the blur function is called and in the blur function a comparison is made between "value" and "old". In this first call to blur, old is undefined so the match is not made and the change event is triggered as if the text was changed. Note that if the same action of clicking in and out of the text area is done again, old contains the correct value and no change event is triggered, so it works differently the second time. The change event should not be triggered on the first action as the text was not changed.
Here is the blur function in Kendo:
_blur: function() {
var textarea = this.textarea;
var old = textarea ? textarea.val() : this._oldValue;
var value = this.options.encoded ? this.encodedValue() : this.value();
this.update();
if (textarea) {
textarea.trigger("blur");
}
if (value != old) {
this.trigger("change");
if (textarea) {
textarea.trigger("change");
}
}
I’m using the kendo UI and need to track all changes made by the user. The scenarios include:
Is there a single common event or the best approach to handle all these cases?
I’ve checked the change event, but it doesn’t seem to fire for all scenarios (e.g., backspace or image removal). Should I use keyup, paste, or a combination of events? Or is there a recommended way to detect any DOM/content change in the editor?
Any guidance or best practices would be appreciated.
<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({ tools: [
"bold", "italic", "underline", "fontName", "fontSize"
]});
var editor = $("#editor").data("kendoEditor");
$(editor.body).focus(function (e) {
editor.exec("fontName", { value: "Tahoma" });
editor.exec("fontSize", { value: "10pt" });
var content = editor.value();
if (content.indexOf('<p') !== 0)
editor.value('<p>'+ content +'</p>');
console.log(editor.value());
console.log(editor.body.innerHTML);
});
</script>We tried to apply the arabic conversion logic to the page. We have control like textbox, dropdown, date and grids with labels. The labels of all controls was changed without any issue. The grid column header caption and the data was also changed.
But the value inside the textbox, dropdown was not changed. Any guidance to resolve this issue.
I used the below code to enable the Google Translation in page.
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en',
includedLanguages: 'ar,en',
layout: google.translate.TranslateElement.InlineLayout.SIMPLE
}, 'google_translate_element');
}
I herewith shared a video for your reference.
I am are trying to create a custom toolbar button with a defined SVG.
No matter what we try, we are unable to change the default SVG button.
The documentation says that the name will be used to apply a k-name class. We can then use that to apply our own SVG. How can we change the SVG on a custom button?
Example - https://dojo.telerik.com/NyxxkxYJ
The following example demonstrates how to add a custom tool button. To enable styling where toolName is the specified name in the custom tool configuration, the custom buttons get a k-toolName CSS class. The undo and redo tool names are reserved.
Having a Kendo editor declared like this:
@(Html.Kendo().EditorFor(m => m.MyEditor)
.Name("MyEditor")
.Resizable(true)
.StyleSheets(css => css.Add(Url.Content("~/Content/EditorStyles.css")))
.Messages(messages => messages
.FontNameInherit("Default")
.FontSizeInherit("Default")
)
.Tools(tools => tools
.Clear()
.Bold()
.Italic()
.Underline()
.JustifyLeft()
.JustifyCenter()
.JustifyRight()
.InsertUnorderedList()
.InsertOrderedList()
.Indent()
.FontName(fonts => fonts
.Add("Arial", "Arial")
.Add("Courier New", "Courier New")
.Add("Helvetica", "Helvetica")
.Add("Times New Roman", "TimesNewRoman")
.Add("Verdana", "Verdana")
)
.FontSize(sizes => sizes
.Add("8", "8pt")
.Add("9", "9pt")
.Add("10", "10pt")
.Add("12", "12pt")
.Add("14", "14pt")
.Add("16", "16pt")
.Add("18", "18pt")
.Add("20", "20pt")
)
))

Hi,
Can we customize the hyperlink dialog in your editor?
