Unplanned
Last Updated: 02 Mar 2023 13:46 by Paweł Korczak

Bug report

Editor inserts two <br /> with enter press when insertLineBreak is changed to br

Reproduction of the problem

Open Dojo: https://dojo.telerik.com/EtUZIVUX

Place the cursor at the end of a line and press ENTER

Expected/desired behavior
Only one <br /> shall be added

Environment
Kendo UI version: [all]
Browser: [all]

Completed
Last Updated: 04 Jun 2024 06:19 by ADMIN
Release 2024 Q1
Created by: Bob
Comments: 1
Category: Editor
Type: Bug Report
0

We are seeing an issue with duplicate images being inserted in the editor on the key combinations below.

This issue can be recreated on the Kendo editor demo website.

  1. Add an image to the editor.
  2. Place cursor in front of image and press Enter.
  3. Press arrow-up key to move cursor to empty line above image.
  4. Press delete key to remove empty line.
  5. Press Enter key to create a duplicate image.
Completed
Last Updated: 24 Mar 2023 09:25 by ADMIN

The Kendo UI Editor widget comes with a tool formatting tool that can be activated using the tools option. It renders a dropDown with different entries representing the supported formatting styles. As you can see in this DOJO, the entries are overly large. This comes from a syntax error in the inline style applied to the span inside the .k-list-item-text DOM element (display: inline-block#; instead of display: inline-block;) This causes the browser to ignore this line and leads to broken styling. Fixing the syntax error in the browser console fixes the styling issue.

Unplanned
Last Updated: 30 Jan 2023 09:59 by Remigijus

Bug report

When the content is scrolled and the user tries to click in the Editor, the cursor is not always set on the correct position

Reproduction of the problem

  1. Open the Dojo
  2. Scroll and try to click on different places in the Editor content.

Current behavior

Sometimes the cursor is not set in the expected position. screencast - https://somup.com/c0VvQMxw1m

Expected/desired behavior

The cursor should be set on the correct place when clicking

The issue is a regression and can be replicated starting with the 2022 R1 SP1 (2022.1.301)

Environment

  • Kendo UI version: 2023.1.117
  • Browser: [all ]
Unplanned
Last Updated: 06 Jan 2023 10:51 by Matthew

Bug report

Content pasted from Outlook/Word might lead to throwing a 'Cannot read properties of null (reading 'nodeType')' error when pasted in Editor.

Reproduction of the problem

  1. Open the Dojo examples:
  1. Copy and paste the content above the Editor in the Editor

Current behavior

An error: Cannot read properties of null (reading 'nodeType') is thrown in the console

Expected/desired behavior

No error should be thrown when pasting content into the Editor

Note: The purpose of the issue is to avoid errors in the console not styling the content as list.

Workaround:

`paste: function(e){
e.html = e.html.replace(/MsoNormal/g, "");
e.html = e.html.replace(/mso/g, "");
}

Environment

  • Kendo UI version: 2022.3.1109
  • Browser: [all ]
Completed
Last Updated: 23 Dec 2022 14:14 by ADMIN
Release R1.2023-Increment.3(18.Jan.2023)

Bug report

If the Editor ColorPickers are defined as gradient instead of palette, it does not render buttons and input.

Regression introduced with 2021.1.224

Reproduction of the problem

  1. Open this Dojo example - https://dojo.telerik.com/@martin.tabakov@progress.com/eSuFUVIK/5
  2. Open one of the ColorPickers

Current behavior

No input and buttons are rendered.

Expected/desired behavior

There should be input and buttons.

Environment

  • Kendo UI version: 2022.3.1109
  • Browser: [all]
Unplanned
Last Updated: 06 Dec 2022 15:49 by ADMIN

Hello,

when I paste text from notepad editor, it is pasted with default font-size even if I currently have cursor on text with bigger font size. Can the editor apply current formatting on pasted text? it is replicable in editor demo. https://demos.telerik.com/kendo-ui/editor/index

thanks,

Marel

Unplanned
Last Updated: 01 Jun 2023 10:24 by ADMIN
Created by: hassan
Comments: 7
Category: Editor
Type: Feature Request
2

Hi Team,

I would like to request a ruler for the Kendo UI Editor where it could be used to align any text.  

Thank you!

Unplanned
Last Updated: 21 Nov 2022 16:32 by omti
Created by: omti
Comments: 0
Category: Editor
Type: Feature Request
4

Hi Team,

I would like to request the Kendo UI Editor to be configurable with a newLine mode.  It could have options such as <p>, <br>, and <div> like the following:

           $("#editor").kendoEditor({
               newLine: {
                  mode: "p" //or "div" or "br"
               }
            });
Thank you!  

Unplanned
Last Updated: 16 Nov 2022 09:29 by Gaurav
Created by: Gaurav
Comments: 0
Category: Editor
Type: Feature Request
1

When we add a header in table using accessibility tab then we need that header should get wrap in <thead> and same for footer and rest of the rows will wrap in <tbody>. For details please go through video:
https://supportheroes.telerik.com/clientsfiles/d6c4fcb8-de14-4966-9bb4-bb0ff104b136_table-header-requirement-from-kendo-edited-mp4.zip

Steps to reproduce:

1. Navigate to this demo:
https://demos.telerik.com/kendo-ui/editor/index

2. Clean the contents

3. Create a table and click inside one of the cells

4. Open the Table Manager and open the Accessibility tab

5. Add 1 header row and click Ok:

The <th> cells go inside the <tbody> instead of <thead>:

Completed
Last Updated: 21 Dec 2023 09:01 by ADMIN
Release R1.2024-Increment.2(31.Jan.2024)

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

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 ]
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 ]