I got a problem with the richtext field. It donĀ“t wanna style my headerstyles that I have configured in my Theme.css stylesheet. This is just for the Editor but I want it to work. Is there a bug?
This is no longer a problem anymore. Screenshots abowe is an example for how not to do :)
The solution to the problem is to create a new stylesheet with the same properties like the theme.css but you create it in the root of Stylesheet "node" then link that css to the richtext datatype.
The trick is, as you're saying, to define the elements and classes that should be possible for editors to select from within the rich text editor's style dropdown.
The styling should be placed in the stylesheet you're using for the website.
No CSS styling in Richtext field
Hi!
I got a problem with the richtext field. It donĀ“t wanna style my headerstyles that I have configured in my Theme.css stylesheet. This is just for the Editor but I want it to work. Is there a bug?
Grettings Adam
Hi Adam
What version of Umbraco are you using? And how have you configured your theme styles?
Could you perhpas add some screenshots to illustrate since it can be a bit hard to explain?
Cheers, Jan
Hi Jan
I am using umbraco v6.1.1.
This should turn up as 30px Arial but dosent.
Hi!
This is no longer a problem anymore. Screenshots abowe is an example for how not to do :)
The solution to the problem is to create a new stylesheet with the same properties like the theme.css but you create it in the root of Stylesheet "node" then link that css to the richtext datatype.
Cheers Adam
Hi Adam
Happy to see you got it all figured out.
The trick is, as you're saying, to define the elements and classes that should be possible for editors to select from within the rich text editor's style dropdown.
The styling should be placed in the stylesheet you're using for the website.
Happy coding.
/Jan
is working on a reply...