Skip to content

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

@ghost

Description

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions