Ruchi Gupta Keshri
Ruchi Gupta Keshri

Reputation: 1

Hide and show ckeditor toolbar

I want hide and show ckeditor toolbar on demand
how to hide Ckeditor toolbar onLoad? and first only show editor without toolbar then load as require?

Upvotes: 0

Views: 2054

Answers (1)

DakaYd0
DakaYd0

Reputation: 95

You can show and hide the toolbar menu like this "config.toolbarCanCollapse = true;"

Is this that you wanted ?

You have to integrate it like this

<script>
    CKEDITOR.replace( 'editor', {     
              
              height: 600,
         
              toolbarCanCollapse : true,                  

              allowedContent: true, 
                        
    } );
</script>

Upvotes: 1

Related Questions