Unplanned
Last Updated: 30 Sep 2022 09:47 by Nallar

Bug report

Immutable content is incorrectly removed when you delete line in the Editor textarea.

Reproduction of the problem

  1. Open this demo - https://demos.telerik.com/kendo-ui/editor/immutable-elements
  2. Place your mouse cursor after Dear Your Name,
  3. Hit Enter
  4. Hit Backspace

Current behavior

The immutable "Dear" part of the text is removed instead of the empty line

Expected/desired behavior

The immutable content should not be removed

Environment

  • Kendo UI version: 2022.3.913
  • Browser: [all]
Unplanned
Last Updated: 15 Sep 2022 11:32 by Richard

Bug report

If you select a text in the Editor, the ForeColor value is not updated to match the color of the selected text.

Reproduction of the problem

  1. Open this Dojo example - https://dojo.telerik.com/IHAGOfom/6
  2. Select the first line
  3. Select a color from the tool
  4. Select the second line

Current behavior

The value of the ForeColor tool is not updated to match the second line

Expected/desired behavior

The ForeColor value should change based on the selected text

Environment

  • Kendo UI version: 2022.3.913
  • Browser: [all]
Unplanned
Last Updated: 05 Sep 2022 11:39 by ADMIN
Created by: Lars
Comments: 2
Category: Editor
Type: Bug Report
2

Hi,

please review the following steps:

1) Go to: https://dojo.telerik.com/@lhoeppner/IYoKegOY

2) In the editor, click the "View Html" button

3) Select all, then paste this new content, then select "Update":

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title></title>
<style type="text/css">.csAD7A2888{text-align:left;text-indent:0pt;margin:12pt 0pt 12pt 0pt}
.cs2D694F89{color:#000000;background-color:transparent;font-family:Tahoma;font-size:10pt;font-weight:normal;font-style:normal;}
.csC8F6D76{color:#000000;background-color:transparent;font-family:Calibri;font-size:11pt;font-weight:normal;font-style:normal;}
</style>


<p class="csAD7A2888"><span class="cs2D694F89">1st line</span></p>
<p class="csAD7A2888"><span class="cs2D694F89">2nd line</span></p>
<p class="csAD7A2888"><span class="cs2D694F89">3rd line </span></p>
<p class="csAD7A2888"><span class="cs2D694F89">4th line</span></p>
<p class="csAD7A2888"><span class="cs2D694F89">...</span></p>
<p class="csAD7A2888"><span class="csC8F6D76">Tim Allens 24-08-2022 18:02 (UTC+00:00) Dublin, Edinburgh, Lisbon, L</span></p>

4) Click to put the cursor in front of "2nd line", then click to put the cursor in front of "1st line" (at the beginning of the note)

5) Press backspace

Result: The line starting with "1st line..." is deleted.

6) Put cursor in front of "3rd line", then back in front of "2nd line", press backspace

Result: The line starting with "2nd line..." is deleted.

 

Backspace shouldn't delete anything in that scenario because the cursor is in front of all note content, and nothing is selected.

The deletion occurs via kendo.editor._handleBackspace/_merge 

 

Thanks,

Lars

Completed
Last Updated: 05 Sep 2022 06:30 by ADMIN
Release 2022.R3
Created by: Asela
Comments: 3
Category: Editor
Type: Bug Report
6

Hello,

When using the Editor, and pasting a table from Word, some of the styles are lost.

Here is a screenshot of the results when pasting the table from the attached document in this dojo: https://dojo.telerik.com/IraPuMAm.

Regards

Completed
Last Updated: 30 Aug 2022 09:06 by ADMIN
Release 2022.R3

Bug report

When the Editor is opened on iPad in desktop mode it seems like it has not been initialized. It is displayed as a standard textarea.

Reproduction of the problem

  1. Open the Demos on ipad in desktop mode. - https://demos.telerik.com/kendo-ui/editor/index

Current behavior

The Editor is displayed as a standard textarea. There is no toolbar rendered.
image

Expected/desired behavior

The Editor should be rendered as on the other devices/browsers.

Environment

  • Kendo UI version: 2022.1.412
  • Browser: [all ]
Unplanned
Last Updated: 29 Jul 2022 07:23 by Anthony

Bug report

Color style is not preserved for the font tag in the Editor

Reproduction of the problem

  1. Open this Dojo example - https://dojo.telerik.com/ucUxOLej/10
  2. Change the color of the text
  3. Press the Test button to console log the Editor value

Current behavior

The color style is not preserved

Expected/desired behavior

The color style should be preserved.

Environment

  • Kendo UI version: 2022.2.621
  • Browser: [all]
Unplanned
Last Updated: 12 Jul 2022 09:30 by Lauren

Bug report

If you remove an image in the Editor and then return it with undo action, the image resize handlers will be duplicated.

Reproduction of the problem

  1. Open this Dojo example - https://dojo.telerik.com/onIsuKuP/4
  2. Select and remove the image using Del key.
  3. Undo with Ctrl + Z
  4. Select the image and resize it.

Current behavior

The resize handlers are duplicated.

Expected/desired behavior

The resize handlers shouldn't be duplicated.

Environment

  • Kendo UI version: 2022.2.621
  • Browser: [all]
Unplanned
Last Updated: 04 Jul 2022 13:38 by Jaspreet

Bug report

When an image from docx file is pasted in the Editor an error is thrown.

Reproduction of the problem

  1. Open the Dojo
  2. Open the file test_word_images.docx
  3. Copy the first image and paste it in the Editor

Current behavior

An error is thrown : "Failed to execute 'readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'"
screencast

Expected/desired behavior

There should be no errors in the console.

Environment

  • Kendo UI version: 2022.2.621
  • Browser: [all ]
Unplanned
Last Updated: 17 Jun 2022 08:46 by Anthony

Describe the regression
If you bold some text in the Inline Editor, the content will be displayed on separate lines

To reproduce

  1. Open this example - https://dojo.telerik.com/aZAFUzuq/12
  2. Type some text, e.g "Some editor text"
  3. Bold the "editor" part
    Expected behavior
    The text should remain on a single line.

Affected package (please remove the unneeded items)

  • theme-default
  • theme-bootstrap
  • theme-material
  • theme-tasks

**Affected suites

  • Kendo UI for jQuery

Affected browsers

  • All

Additional context
Introduced with 2020.2.617

Unplanned
Last Updated: 31 May 2022 20:57 by Paul
Created by: Paul
Comments: 0
Category: Editor
Type: Feature Request
1

Hi Team,

I'd like to request the functionality to retain the new lines for a <pre> element within a Kendo UI Editor using classic mode(<textarea>).  Currently, it does have allow a new space within the pre element:

Editor

        <textarea id="editor" rows="10" cols="30" style="width:100%; height:450px" aria-label="editor">
          <pre>
            Example
            Example
          </pre>
        </textarea>

JavaScript

        $(document).ready(function () {
            // create Editor from textarea HTML element with default set of tools
            $("#editor").kendoEditor({
                resizable: {
                    content: true,
                    toolbar: true
                }
            });
        });

Please take a look at this Progress Kendo UI Dojo using the code above.

Thank you!

Unplanned
Last Updated: 11 May 2022 16:45 by FA
Created by: FA
Comments: 0
Category: Editor
Type: Bug Report
0

Bug report

When text is hihlighet in Rwad-Only Editor and the user tries to paste a text, the highlighted text dissapears.

Reproduction of the problem

  1. Open the Dojo
  2. Copy some text
  3. Highlight part of the text in the Editor and try to paste using Ctrl + V

Current behavior

Currently, the highlighted text dissapers

Expected/desired behavior

The highlighted text should not dissapear and the content of the Editor should remain unchanged.

Workaround

kendo.ui.editor.Clipboard.fn.onpaste = function(){
        if (this.editor.body.contentEditable === "false" || this.editor.body.contentEditable === "inherit" ) {
          return;
        }
      }

Dojo

Environment

  • Kendo UI version: 2022.1.412
  • Browser: [all ]
Unplanned
Last Updated: 04 Apr 2022 19:47 by David
Created by: David
Comments: 0
Category: Editor
Type: Feature Request
1

Hi Team,

I would like to ask for the functionality to modify the Table Wizard's default values using the Kendo UI Editor's API or an associated Table Wizard API.  

Thank you!

Completed
Last Updated: 30 Mar 2022 15:22 by ADMIN
Release 2022.R1.SP.next

Currently, it is not possible to navigate between colors in Editor Font and Background ColorPickers with the keyboard.

Reproduction of the problem
1. Go to https://demos.telerik.com/kendo-ui/editor/all-tools
2. Navigate to the Font or BackColor tools in the toolbar
3. Press Down Arrow

Current behavior
The Font/BackColor tools in the toolbar are opened, but it is not possible to navigate inside in order to select a color.

Expected/desired behavior
On pressing down the arrow key the color in the top-left corner of the palette should be focused. Then pressing other arrow keys moves the focus to the desired color. Then:

- Pressing Enter selects the color and applies it to the editor`s content
- Pressing Esc closes the dropdown without selecting a color, focus remains on the ColorPicker button.

Completed
Last Updated: 30 Mar 2022 11:56 by ADMIN
Release 2022.R1.SP.next
Created by: ashutosh
Comments: 0
Category: Editor
Type: Feature Request
0

 

  •  "Create a Table" tool works only by pressing Alt + Down Arrow and expands a popup. I suggest expanding the popup on Space or Enter as well. Thus the current Alt + Down Arrow behavior could work as well.

  •  It is not possible to focus through keyboard the "Table Wizard" tool inside "Create a Table" popup:
    image

Reproduction of the problem

  1. Go to https://demos.telerik.com/kendo-ui/editor/index
  2. Focus Editor
  3. Press F10 to focus toolbar
  4. Press Tab key until "Create a Table" tool is focused
  5. Press Space/Enter to activate it - nothing happens.
  6. Press Alt + Down Arrow to expand the popup
  7. Press Down Arrow to select table size

Current behavior

It is not possible to select the Table Wizard tool neither through arrow keys nor through Tab

Expected/desired behavior

When the bottom table size cell is reached, pressing Down Arrow once again moves the focus to the Table Wizard tool.
When Table Wizard tool is focused, pressing Up Arrow moves the focus to the bottom table size cell.

Unplanned
Last Updated: 17 Mar 2022 08:28 by Bob

Bug report

The resize handlers in Editor are visible after an image has been deleted

Reproduction of the problem

  1. Open the Demo - https://demos.telerik.com/kendo-ui/editor/index
  2. Select the image and delete it using 'Delete' button
  3. Press Ctrl+Z and then delete the image again

Current behavior

The image disappears, but the resize handlers remain visible

Expected/desired behavior

The resize handlers should be hidden when an image is deleted.

Workaround

<script>
var editor = $('#editor').kendoEditor().data('kendoEditor');

$(editor.body).keydown(function(e){
     if(e.key === "Delete"){    
          $(editor.body).find('.k-element-resize-handle-wrapper').hide()
     }
})
</script>

Dojo

Environment

  • Kendo UI version: 2022.1.301
  • Browser: [all ]
Unplanned
Last Updated: 23 Feb 2022 10:47 by Kilian
Created by: King Wilder
Comments: 3
Category: Editor
Type: Feature Request
6
It would be nice to have a code-formatter like the one in the MVC Extensions, or even an easy way to plug-in an open source code formatter into the Editor.
Completed
Last Updated: 18 Feb 2022 13:35 by ADMIN
Release 2022.R1.SP.next

Bug report

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.

Reproduction of the problem

  1. Open the Overview Demo in Chrome, Edge or IE
  2. Clear the content
  3. Copy part of the 'Overview' text that is above the example
  4. Drag it to the Editor and drop it

Current behavior

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.

Expected/desired behavior

The text should be pasted in the Editor even if it is dropped below the first line.

The issue is regression since version 2019 R2 SP1 (2019.2.619)

Related issue: #5454

Environment

  • Kendo UI version: 2019.2.619
  • Browser: [Chrome |IE XX | Edge ]
Completed
Last Updated: 18 Feb 2022 13:31 by ADMIN
Release 2022.R1.SP.next

Bug report

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.

Reproduction of the problem

Issue 1:

  1. Open the attached file and the Dojo linked here.
    test.docx
  2. Select all by Ctrl + A, and paste it in the Editor
  3. In the file there is a row with text and two empty rows below. Move toward the 2nd row and type any words. (Use direction key, not Enter)
  4. Move toward the 3rd row and type any words. (Use direction key, not Enter)
  5. Press space key at the end of the 3rd row

Issue 2
Follow the same steps as above, but on step 6 press Enter instead of space

Current behavior

The following JS errors are thrown:

  1. DOMException: Failed to execute 'setStart' on 'Range': There is no child at offset 6.
  2. Failed to execute 'insertNode' on 'Range': Nodes of type 'A' may not be inserted inside nodes of type '#comment'.
    (screencast)

Expected/desired behavior

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.

Environment

  • Kendo UI version: 2021.1.224
  • Browser: [ Chrome | Edge ]
Completed
Last Updated: 18 Feb 2022 13:18 by ADMIN
Release 2022.R1.SP.next

Bug report

When you copy-paste a table with border styles from Word to Editor, the border styles are lost.

Reproduction of the problem

  1. Open this example - https://dojo.telerik.com/@martin.tabakov@progress.com/OwiSoVut/9
  2. Copy a table with border styles from Word and paste it in the Editor.

Current behavior

The border styles are lost

Expected/desired behavior.

The border styles should be preserved.

Environment

  • Kendo UI version: 2021.3.1109
  • Browser: [all]
Declined
Last Updated: 25 Jan 2022 14:28 by ADMIN

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.

Reproduction of the problem

https://demos.telerik.com/kendo-ui/editor/all-tools

  1. Delete all content
  2. Type 'Heloo' and change its font size
  3. Correct the misspelled word.

Current behavior

Dom is changed to font tag with size attribute. And the font tool not showing the correct font size.

Expected/desired behavior

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

Environment

  • Browser: [ Chrome 92.0.4515.15 ]
1 2 3 4 5 6