Is there a way to have different StyleFormats for different styleselects
In this example I would like the styleselect by the epi-link and anchor to only show button-style1 and the styleselect by the bullist an numlist to display the list-styles. Is it possible to differentiate the StyleFormats in that way?
config.Default()
.AddEpiserverSupport()
.AddPlugin("media wordcount anchor code lists")
.Toolbar("epi-link anchor styleselect | image epi-image-editor media | epi-dnd-processor", "bold italic underline | alignleft aligncenter alignright | bullist numlist styleselect | formatselect removeformat code")
.StyleFormats(
new { title = "list-style1", selector = "ul", classes = "list-styled" },
new { title = "list-style2", selector = "ol", classes = "list-styled" },
new { title = "list-style3", selector = "ul", classes = "list-styled list-styled--checklist" },
new { title = "button-style1", selector="a", classes = "btn btn--primary" })
.ContentCss("/Static/styles/editor.css");