I have tried to add a few styles to the style dropdown in the editor.
I have added a new Stylesheet editor.css:
Quote:h1 { font-weight:bold }
.leftImage { float: left; margin: 0 1em 0.5em 0; }
I have added two substyles to that stylesheet:
Name: Title
Alias: h1
Name: Left Image
Alias: .leftImage
I have checked the editor stylesheet in Related stylesheets in the Rich editor data type.
The two styles comes up in the style dropdown when I edit my content.
The problem is, whatever text I select and tries to apply a style nothing happens. The html is not modified. If I use the insert/edit image button to insert an image and set the style through here the style that is added is class=".leftImage" and not class="leftImage" as supposed.
What am I doing wrong? What isn't my styles applied when using the editor, and why does the edit image tool apply the class incorrect?