hide toolbar dynamically

2 posts, 0 answers
  1. Doug
    Doug avatar
    19 posts
    Member since:
    Aug 2015

    Posted 17 Feb Link to this post

    Is there a way to turn off the tools menu in the editor through javascript.  I want to remove the tools when the control is disabled and then make them show when it's enabled.

     

  2. Neli
    Admin
    Neli avatar
    221 posts

    Posted 20 Feb Link to this post

    Hello Doug,

    You can hide the toolbar container in editor by using the 'k-editor-toolbar' class.
    $('.k-editor-toolbar').hide();

    In the linked Dojo example the toolbar is hidden if the Editor is disabled. the toolbar is again visible if the Editor is enabled. 

    Regards,
    Neli
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top