Right now formatting options allows to use p, blockquote, h1, h2, h3 and h4. It would be beneficial for me to only allow using p and h1.
Is such change possible?
You can already do that :
$('.editors').trumbowyg({
btnsDef: {
// Customizables dropdowns
formattingLight: {
dropdown: ['h1', 'p'],
ico: 'formatting' // Apply formatting icon
}
},
btns: ['viewHTML',
'|', 'formattingLight', // Replace default formatting by your custom dropdown
'|', jQuery.trumbowyg.btnsGrps.semantic,
'|', 'link',
'|', 'insertImage',
'|', jQuery.trumbowyg.btnsGrps.justify,
'|', jQuery.trumbowyg.btnsGrps.lists,
'|', 'horizontalRule'],
});
Thanks: ]
how i can custom list style
could u help me
I thinks your problem is different from the original post. I invite you to create a new issue. Then, I don't know what you mean.
Most helpful comment
how i can custom list style
could u help me