telerik / kendo-ui-core

An HTML5, jQuery-based widget library for building modern web apps.
http://www.telerik.com/kendo-ui
Other
2.54k stars 1.9k forks source link

Disable table resizing in Editor, when contenteditable is set to false #3618

Open Dimitar-Goshev opened 7 years ago

Dimitar-Goshev commented 7 years ago

Description

Currently it is possible to resize table rows and columns, when Editor widget is configured as read-only using $($('#editor').data().kendoEditor.body).attr('contenteditable', false) In Chrome, it is also possible to resize the whole table.

Reproduction of the problem

  1. Go to Editor / Basic usage demo
  2. Insert a table.
  3. Execute the above script in the console to disable content editing.
  4. Try to resize table rows and columns

Current behavior

Table rows and columns will be resized. In Chrome, the whole table may also be resized, as the square handles will be visible when clicking inside a table cell.

Desired behavior

Table rows and columns cannot be resized. The whole table cannot be resized.

Environment

nthornton2010 commented 6 years ago

We are experiencing this issue as well.