AI OnAI Off
Hi,
I don't think so, doesn't seem to be possible in TinyMCE either.
You should be able to group style formats, which is as simple as:
.StyleFormats
(
new
{
title = "Red",
items = new[] {
new { title = "Red text", block = (string) null, inline = "span", styles = new { color = "#ff0000" } },
new { title = "Red header", block = "h1", inline = (string) null, styles = new { color = "#ff0000" } },
}
},
new
{
title = "Green",
items = new[] {
new { title = "Green text", inline = "span", styles = new { color = "#00ff00" } }
}
}
);
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?