I was trying to add some class to Advanced Image Editor (in TinyMCE). But unable to do that. There were some explanation in the forum about doing it in lower versions of EPiServer (How to configure CSS classes for the image editor). But those were not working in EPiServer 8
Hi, have you tried adding something like this in the css file that you're loading in TinyMCE?
EditMenuName: 'Left aligned';
EditMenuName: 'Right aligned';
Actually Mattias, I have tried that as well. The problem with that approach was, the defined style with "EditMenuName" is appearing in every style list of TinyMCE. But I just want it to appear only in Advanced Image Editor's class list
I don't think you can easily circumvent that. What might be a bit clearer for the editors is to group these with a headline, ex:
EditMenuTitle: Heading styles;
EditMenuName: Header 2;
EditMenuName: Header 3;
EditMenuName: Header 4;
EditMenuTitle: Image styles;
EditMenuName: Left align image;
EditMenuName: Right align image;
They can't be applied to anything other than an image anyways.