Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to remove h1 only from the font-styles drop menu #396

Open
shadialnamrouti opened this issue Oct 25, 2020 · 0 comments
Open

how to remove h1 only from the font-styles drop menu #396

shadialnamrouti opened this issue Oct 25, 2020 · 0 comments

Comments

@shadialnamrouti
Copy link

shadialnamrouti commented Oct 25, 2020

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant