how to remove h1 only from the font-styles drop menu
Opened this issue · 0 comments
shadialnamrouti commented
Is there an option to hide/show sub menu items.
I want for example to hide h1 (in addition to insert image). I used the following working workaround. Is there a natural option for that? thank you:
<script>
if(jQuery().wysihtml5){
$(".wysihtml5").wysihtml5( {"image": false});
$('a[data-wysihtml5-command-value="h1"]').hide();
}
</script>