When text is copied and dragged to the Editor it is pasted only if it is dropped on the first row. It is not pasted if it is dropped below the first row of the content.
The text is pasted in the Editor only if it is dropped on the first line. In case the text is dropped below the first line the cursor is not visible and the text is not pasted.
The text should be pasted in the Editor even if it is dropped below the first line.
Related issue: #5454
When a content containing carriage return is pasted from Word in the Editor and space or Enter is clicked at the end of the content JS error is thrown. The issue is reproducible in Chrome and Edge.
Issue 1:
Issue 2
Follow the same steps as above, but on step 6 press Enter instead of space
The following JS errors are thrown:
There should be no JS errors when a content with carriage return is pasted in the Word file and space or enter are pressed at the end of the pasted content.
When you copy-paste a table with border styles from Word to Editor, the border styles are lost.
The border styles are lost
The border styles should be preserved.
Correcting a misspelled word with some fontsize decoration results in Chrome changing the DOM element to font tag and style to face attribute.
This leads to the font tool not recognizing the font size and shows inaccurate value.
https://demos.telerik.com/kendo-ui/editor/all-tools
Dom is changed to font tag with size attribute. And the font tool not showing the correct font size.
Either the Editor to retain or bring back the proper tag and style. Or update the font size to recognize the font size from font tag and size attribute
Hi Team,
I would like to request the ability to set a specific section of text where it is not removable. Currently, if the text is readonly by setting contenteditable to false, you can highlight it and delete it. I'd like to make it completely unmodifiable.
Thank you!
Hi Team,
We recently ran security scan on our web application which using "https://kendo.cdn.telerik.com/2020.2.513" Version.
and we encountered one scenario where Cross Site script executed even though we implemented encode and decode.
Scenari: User opens editor -> Clicks Insert Link Option.
We filled URL, Text inputs and for Tooltip fields we input Cross Site Script i.e (">">">"><script>alert(document.cookie);</script>)
and we clicked INSERT.
Basically the Tooltip field will break the anchor tag title parameter and script will execute.
Though we have implemented HTML encode and Decode we still experiencing this alert popup with cookie data while encode and Save and also Decode and Show.
OR
Please let us know.
How to restrict user to input only Alphanumeric Values into the fields "Text", and "ToolTip" when user clicks "Insert Link" option on Kendo tool Editor (CK Editor).
When the content pasted in the Editor contains the 'MsoNormal' class the new lines are not preserved.
The text after the 'MsoNormal' class is pasted on a single line.
The new lines should be preserved.
Hi Team,
I'd like to request the Kendo UI Editor to be able to resize when an image within it is resized larger than the space contained in the Editor body. Please allow this functionality for both the classic and inline editors.
Thank you!
When the Editor is in a <form>
that also has inputs and the Enter key is pressed in the input fields, the first button in the Editor`s toolbar is selected.
The 'Bold' button is selected
The buttons in the Editor should not be selected when pressing Enter key in the external inputs.
Regression introduced with Kendo 2020.2.513
When an image is placed inside an <a>
tag resizing the image does not work as expected
The image can not be resized back to the original size (screencast). Its width can not be changed.
In case the image is set to float on the right after resizing its width becomes about 10px and is almost hidden - Dojo
It should be possible to resize the image by increasing/decreasing the size and keeping the width/height ratio.
Is it possible to implement an Alphabetically ordered list (uppercase and lowercase) as a built-in tool in the Editor?
For example:
1) Alphabetically ordered list (uppercase):
A. Point A
B. Point B
2) Alphabetically ordered list (lowercase):
a. Point a
b. Point b
Using contenteditbale=false to disable the Editor image and table resizing still works.
Dojo to reproduce the problem:
https://dojo.telerik.com/acIhiqiN
Actual behavior:
Steps:
1. Disable using the button
2. Try to resize the image - it can be resized
3. Try to resize the table- it can be resized
Expected:
Images and tables not to be resized
Hi,
Bullets are not removed when content is deleted.
Observe that two bullet points remain
### Bug report
A non-breaking space is added at the beginning of each new row when typing in the Editor. As a result, the method "getRange" returns a wrong "startOffset" index.
### Reproduction of the problem
1. Subscribe to the "select" event of the Editor;
2. Log the property "startOffset" of the "getRange" method in the browser console;
3. Click on any line in the empty Editor and check the logged index. It is "1" instead of "0".
4. Type in any text in the Editor and click at the beginning of the text - the logged index is "1" instead of "0".
A Dojo sample for reproduction: https://dojo.telerik.com/UqUNoBaM/8
### Expected/desired behavior
The non-breaking space should be removed when typing.
### Environment
* **Kendo UI version:** 2021.2.616
* **jQuery version:** 1.12.4
* **Browser:** [all]
Currently CTRL+Z performs an "Undo" and it works well in the editor. Can we add toolbar buttons for Undo and Redo?
In the Editor with non-editable content, if you delete the content of the element and type new value, the new value cannot be obtained.
Regression introduced in Kendo 2020.1.114
The value method returns an empty string.
The value method should return the newly typed content.
Dojo example. Video available in ticket id: 1496525 (first post).
Two new lines are created instead of one.
One new line is created.