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 Loring,
Thank you for this bug report.
Here you are a workaround for the time being: https://dojo.telerik.com/@iankodj/akaxeceK.
var _initResizeHandles = kendo.ui.editor.ElementResizing.fn._initResizeHandles; var resizingInProgress = kendo.ui.editor.TableElementResizing.fn.resizingInProgress; kendo.ui.editor.ElementResizing.fn._initResizeHandles = function(){ var body = this.options.rootElement; if(body.contentEditable === "false") return; _initResizeHandles.call(this); }; kendo.ui.editor.TableElementResizing.fn.resizingInProgress = function () { var body = this.options.rootElement; if(body.contentEditable === "false") return true; resizingInProgress.call(this); }
Regards,
Ianko
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.