Regression introduced in R1 2021 SP1. Related to: #6169
Reproducible in the demos in IE11.
A js exception is thrown.
No exceptions on pasting the table.
Dojo example.
The Editor adds an extra
element after the nested table:
<p> </p>
No empty paragraph is added on pasting content.
The toolbar in the Editor's ImageBrowser is not rendered correctly with jQuery 3.5.x
The toolbar is not rendered correctly. Items are differently positioned.
The toolbar should be rendered as in this example. https://dojo.telerik.com/@martin.tabakov@progress.com/OZOMoJeJ
When there are bookmarks in a Word file and the text from the Word is pasted in Editor the indention of the text and space of the alignment is changed.
The indention of the list is changed.
The pasted list should look like in the Word document
Add Link Tab to Image Editor The idea is to add a link tab within the Image Editor that allows users to wrap the image with an href. This would cut out a step for people who want to add a link to images. (This functionality is available in the ckEditor)
When uploading a file through the Editor's FileBrowser, the file's name is not updated with the name coming generated on the server. The file's name is updated in the ImageBrowser using the same server code.
Editor configuration:
$("#editor").kendoEditor({
fileBrowser: {
schema: {
model: {
id: "name",
fields: {
name: { field: "name" },
type: { field: "type" },
size: { field: "size" }
}
}
},
transport: {
read: "@Url.HttpRouteUrl("ActionApi", new {controller = "MessageTemplates", action = "Read"})",
destroy: "",
create: "",
uploadUrl: "@Url.HttpRouteUrl("ActionApi", new {action = "UploadMp3", controller = "MessageTemplates" })",
fileUrl: function (name) {
var url = "/files/" + name + "/";
return url;
}
},
fileTypes: "*.mp3, *.pdf"
},
tools: ['insertImage', 'insertFile']
});
Controller:
[HttpPost]
[ActionName("Read")]
public object Read()
{
try
{
string path = HttpContext.Current.Request.Params["path"];
var fullPath = System.Web.Hosting.HostingEnvironment.MapPath(@"~/Files/" + path);
DirectoryInfo dir = new DirectoryInfo(fullPath);
var result = dir.GetFiles("*.*").Select(f => new
{
name = f.Name,
type = "f",
size = (long)0,
}).ToList();
return result;
}
catch (Exception e)
{
return null;
//throw new HttpException(404, "File Not Found");
}
}
[HttpPost]
[ActionName("UploadMp3")]
public HttpResponseMessage UploadMp3()
{
var file = HttpContext.Current.Request.Files[0];
try
{
return Request.CreateResponse(HttpStatusCode.Created, new
{
size = file.ContentLength,
name = Guid.NewGuid().ToString(),
type = "f"
});
}
catch (Exception e)
{
return new HttpResponseMessage(HttpStatusCode.BadRequest);
}
}
The file name is not updated whereas it is being updated in the ImageBrowser.
The file name should be updated as in the ImageBrowser.
Reproducible in the demos.
An empty column is added to the table.
No empty column added and all the highlighted cells are styled properly.
Dojo example.
<table>
<tbody>
<tr>
<td>
<p>
<span> </span>
</p>
</td>
</tr>
</tbody>
</table>
<table><tbody><tr><td><p><span> </span></p></td></tr></tbody></table>
Both tables are identical, but the first one is formatted.
The Editor has stripped the p and span tags from the first table. The issue is related to the presence of
in the span. If it is replaced with text, the elements are not stripped.
No elements should be stripped from the table.
The toolbar of the inline Editor hides when the user click on a disabled button inside it or on the toolbar itself
The toolbar hides after the user click on it.
The toolbar should stay visible after the user click it
Reproducible in Chrome and Firefox.
Dojo example
Copy the list from the attached file and paste it in the Editor:
List numeration is duplicated.
The pasted list looks as in the Word document.
Hi Team,
I'd like to request the Kendo UI Editor implement the functionality to utilize a Page Size such as A4. If the user types beyond the size, it should show a page break to let the user know it's gone past the limit.
Thank you
We are running into an error using the editor in a panel. After making a second change to content in an editor, this error is thrown:
Uncaught TypeError: Cannot use 'in' operator to search for 'getSelection' in undefined
We're using a template for the panel a with textarea with attribute data-role="editor" to instantiate the editor. We're using an observable with a hierarchical datasource bound to the panel.
Here is a stripped-down dojo to reproduce the error:
https://dojo.telerik.com/UYEtEvAG/2
Have tried all solutions mentioned on previous similar tickets without success. We have also tried iframe vs inline editors.
Thanks in advance for help.
A tester of ours noticed a bug that completely breaks the editor until the page is refreshed.
Script error "Cannot read property 'nodeType' of null" in the console. None of the buttons work until the page is refreshed.
Attached is a video example tested with Dojo editor. Thanks!
ASP.NET AJAX RadEditor is much user friendly (i.e. image resize with mouse, styling some simple properties like margin...etc.). We use Kendo UI and HTML5 in our new projects, but in our custom CMS we had to integrate RadEditor, because it is very smart and user friendly and gives a great helping hand and many functionalities to our users who has no html and css experiences. Kendo Editor is still not a tool for a CMS, it is good only for writing some sentences to news or for some very-very simple editing task.
We build a project on Kendo, and incorrectly assumed we would see similar levels of tools in the ditor as per the ASP.Net ajax implementation. We were surprised to find the image editor was not available. I guess I dont really understand why you couldnt call the existing functionality from the server side using Ajax as a fast way to beef up the functionality for Kendo?
Not reproducible in IE and Firefox.
Dojo example.
A leftover em tag remains after clearing the content in Chrome.
All tags from that were present in the cleared content should be removed.
Dojo example.
For more details see Ticket ID: 1478828
A js exception is thrown:
kendo.all.js:78925 Uncaught DOMException: Failed to execute 'setStart' on 'Range': There is no child at offset 3.
No exceptions.
The last row of a table in the Editor cannot be resized.
The upper row will be resized instead.
The last row should be resized.
We have discovered an issue in the Editor around insertion of text using a custom button - it can be seen at http://dojo.telerik.com/EZijI If you highlight text that is contained within a <span> tag, and use a custom button to insert more text (in this case, replacing the highlighted text), the text gets removed successfully, but the <span> gets closed, and the inserted text appears outside the closing </span> tag. Given that <span> tags can be used to format text, you therefore lose the formatting you had applied to the text you removed, and the new text appears unformatted i.e. inheriting formatting from the parent, which is not expected behaviour.
The ColorPickers in the Editor allow the user to change the text color or the background color of a selection in the component. When the Editor is working in Inline mode, if you select a text and manually enter a value in the HEX input of a ColorPicker, the pre-selected text is no longer selected. No text is colored inside the Editor.
The ColorPicker closes. The selected text in the Editor before opening the ColorPicker is no longer selected. No text in the Editor is in the color entered in the HEX editor.
Clicking on the Apply button of the ColorPicker, after a HEX value is entered, should close the ColorPicker and color the pre-selected text. This correct behavior can be observed in the second Editor in the linked above Dojo example.