Declined
Last Updated: 20 Dec 2019 12:24 by ADMIN
Simon
Created on: 15 Apr 2016 02:06
Category: Editor
Type: Feature Request
4
Add an enable method to Editor
Add an enable() method to Editor to enable/disable the editor widget.

The following link mentions how to disable the contenteditable, but this does not disable the toolbar: http://www.telerik.com/forums/disable-readonly-and-maxlength-for-kendoeditor

Something like:

function(enable) { 
                        $(this.body).attr("contenteditable", enable);
                        if (enable) {
                            this.toolbar.element.closest(".k-editor-toolbar-wrap").find(".k-disabled-overlay").remove();
                        } else {
                            this.toolbar.element.closest(".k-editor-toolbar-wrap").append("<div class='k-disabled-overlay'></div>");
                        }
                    }
1 comment
ADMIN
Dimitar
Posted on: 22 Sep 2017 13:20
The following How to article shows how to enable and disable Kendo UI Editor:
http://docs.telerik.com/kendo-ui/controls/editors/editor/how-to/customize/enable-and-disable-editor