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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -