Reputation: 1
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
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