javascript - How can I add custom bullets to tinyMCE? -


i want add few option bullets dropdown on tinymce, possible?

i want add ► type of bullet , different color options. (red, blue, etc...)

yes. in tinymce config, need specify:

style_formats: [     {          title: 'custom bullet',              selector: 'ul',               classes: 'custom1'          } ], 

from there, need specify styling in css:

.custom1 { list-style-image: url('custom1.png'); } 

see more info: https://www.tinymce.com/docs/configure/content-formatting/#style_formats


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -