Hi Team,
I would like to get selected text along with html tags but getting only plain text by using
editor.getSelection() or editor.getRange() methods. Please help me to get html selected text
We are seeing an error when pasting an image from a Microsoft Word document into the Kendo editor. This can be reproduced on the demo site by creating a new Word document and selecting the Resume template, then copying the profile image out of Word and pasting it into the editor.
The error reported is:
Uncaught TypeError: Failed to execute 'readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'.
at _fileToDataURL (kendo.all.js:313050:21)
at Function.map (jquery.min.js:2:3630)
at init._insertImages (kendo.all.js:313050:21)
at init._handleImagePaste (kendo.all.js:313050:21)
at init.onpaste (kendo.all.js:313050:21)
at cut copy paste drop dragover (kendo.all.js:313050:21)
at HTMLBodyElement.dispatch (jquery.min.js:3:12445)
at r.handle (jquery.min.js:3:9174)
The problem is that because this error is thrown, the paste command is never executed in our code for processing the image. Please let me know if there is anything we can do about this error.
Thanks,
Bob
Hallo,
i added a custom tool in the editor and am using it to add horizontal tab.
I'm using inserthtml for this, but after adding the tab span, the previous format isn't retained.
How can I add the span for tab inside the previous format span? Or in other words, how can I continue the previous format?
any ideas?
You can test it like this:
1- press the custom tab tool button to activate the tab key
2- enter a text and make font size eg. 16px
3- then press tab key on keyboard
4- then enter a new text again
formatting is lost
Example:
Tab on/off | Kendo UI Dojo (telerik.com)
function onTabKeyClicked(e){
if (isTabOn){
e.preventDefault();
editor.exec("inserthtml", { value: '<span style="white-space:pre;tab-size:0.25in;">	</span>' });
}
}
thank you in advance
When a table is resized in the editor using the inner borders, how can I get the event to determine this has happened? I can see that the select event is fired, but I don't know how to determine it was from a resize of the inner borders of a table. I have tried this code:
select: (e) => {
if ((e.sender?.columnResizing?._resizable !== null) || (e.sender?.rowResizing?._resizable !== null))
this.handleEditorTableResizeValueChanged(e.sender.body?.innerHTML);
}
However, this code does not seem reliable. Sometimes it works and _resizeable is not null, but other times it is null until the next select event as if there is a delay. Can you please provide insight to a reliable way to get this resize event?
Thanks,
Bob
delete this - wrong forum
Moved to Telerik ASP.Net Core KendoEditor - fullscreen mode in UI for ASP.NET Core | Telerik Forums
Is there a button on the toolbar that enables a Symbol picker dialog like that found in MS Word? Is there a better option than using ALT codes for a user to type in French accented characters? I don't want to change the localization of the editor - I want to present the editor in English but make it easier for a French user to enter French text. ALT codes and pasting from Word work but not really optimal.
Thanks.
When i use the editor inside a bootstrap modal the "insert hyperlink" shows the window but i can not write in the fields.
Example:
http://jsfiddle.net/keebj1t3/
How to change the editor>insert link default web address content from "http://" to "https://"
See screenshot