I am using kendo ui editor control. Initially i am showing only editable area and hiding editor tool bar like
<style>
.k-editor-toolbar
{
display:none;
}
</style>
I am showing that in select function of kendo ui editor like
$("#editor").kendoEditor({
select: function(e){
$(".k-editor-toolbar").show();
}
});
I want to hide the tool bar on body except the editable area in the kendo ui editor. I have tried like
$('body').on('click', ':not(#editor)', function () {
$(".k-editor-toolbar").hide();
});
But this is not working. on select of Dropdowns in the toolbar also it is hiding. I don't want to hide the tool bar when i click any thing on the toolbar. How can i able to do that