Disable in KendoEditor

2 posts, 0 answers
  1. Gonzalo
    Gonzalo avatar
    5 posts
    Member since:
    May 2014

    Posted 20 Nov 2014 Link to this post

    Hi, I tried to disable the content as mentioned here, using:

    $(function () {
       $($('#editor').data().kendoEditor.body).attr('contenteditable', false);

    But it doesn't disable the toolbar buttons, so it's possible to add custom styles to the editor content. Is there any way to disable the toolbar too?
  2. Alex Gyoshev
    Alex Gyoshev avatar
    2497 posts

    Posted 24 Nov 2014 Link to this post

    Hello Gonzalo,

    As the linked thread mentions, this functionality is not supported. Instead, hide the editor and show its value in a <div> element.

    Alex Gyoshev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top