Unplanned
Last Updated: 30 Jul 2024 12:51 by ADMIN
Lee
Created on: 23 Jul 2024 16:18
Category: Kendo UI for jQuery
Type: Bug Report
2
Kendo Editor showing all tools on initialization

Issue 1:
When I initialize a kendo editor from a div with content, all of the table tools are shown in the editor toolbar (insert row, insert column, etc) on initialization. Once the user clicks in the box they disappear. I prepared a Dojo showing this

In the Dojo, you will see there are 2 different editors. The first editor uses a function I wrote that worked in version 2022 but doesn't in version 2024 of Kendo. The second editor is just a default initialization using none of my custom code. The purpose of the first one is to show the toolbar on initialization. In both instances of the editor, you will notice that the insert row, insert column, etc are showing at first and then quickly disappear. This only happens the first time the user clicks into the editor. These should not be visible until the user clicks into the editor and selects a table.

I did notice that if I initialize the div empty, then add the content later programmatically (like this: kendoEditor.value("Hello World");), the issue doesn't happen.

Issue 2: 

Once you add a table, you can't remove it using backspace or delete. Try this example: 

  1. In either editor, click the insert table button.
  2. Insert a table.
  3. Click into the editor and press backspace and/or delete. The table doesn't go away.

https://dojo.telerik.com/@dojolee/OgOpalaL

3 comments
ADMIN
Neli
Posted on: 30 Jul 2024 12:51

Hello Lee,

As the issues are discussed in the forum I am pasting a link to my reply below:

https://www.telerik.com/forums/table-edit-tools-showing-on-init-with-content#5857666

In my initial reply, I had misunderstood the first issue and I would like to apologize for that. I understood that you are trying to display the tools all the time without hiding them and my suggestion was related to achieving such an appearance.

I have reviewed the provided example again and performed additional tests with an inline editor with basic configuration. It seems that the issue occurs if the markup from which the Editor is initialized is on a single line. Below you will find a link to the related item I logged in our GitHub repository where the different scenarios we found are described:

- https://github.com/telerik/kendo-ui-core/issues/7916

With the above said I am changing the status of the report to Unplanned. You could follow the item in the Feedback portal or the issue in Github to track for updates. As a token of gratitude for reporting a bug, I have updated your Telerik points.

As explained in the forum thread, the second issue is a default browser behavior and could not be considered as a bug. I would suggest keeping the discussion related to the second issue in the forum thread and leave the current thread related only to the logged bug.

Regards,
Neli
Progress Telerik

Do you have a stake in the designеr-developer collaboration process? If so, take our survey to share your perspective and become part of this global research. You’ll be among the first to know once the results are out.
-> Start The State of Designer-Developer Collaboration Survey 2024

 

Lee
Posted on: 30 Jul 2024 12:48
Why was this moved to unplanned when it is clearly a bug?
Lee
Posted on: 26 Jul 2024 14:46
Neli from Telerik created this screen grab that shows the issue. You can see it at the 0 and 9 second marks in the top editor and the 14 second mark an in the middle editor. https://go.screenpal.com/watch/cZiO2OVPgjx