Could you post your stylesheet (or the relevant part of it) and the HTML code you are trying to save/format (content of the HTML view just before you try to save)? By default, I think the rich text editor does not allow to apply styles on all html tags, so maybe the problem resides in the rich text editor configuration. Posting some code might indeed help us identify the problem.
sounds like you have created a stylesheet in the stylesheet section of Umbraco, right?
Then you need to define if it should match an element or a class.
If you are defining classes you should remember to use dot before the class name in the alias field
Name: MyClass Alias: .MyClass
If you have named the alias wrongly it will not have any effect. Remember that the effect will not be shown in the RTE content but only on the website.
Please do also make sure you don't have the same class or element definition in another stylesheet, which could have a higher specification than the declaration you have created in the umbraco stylesheet for your RTE.
Style not working
Hi,
I used the style sheet for the classes.Now inside this style sheet i again create the property.
But when i used it in rich editor, After saving and publish it will not take that property.
Thanks in advance
Could you post your code? You haven't provided enough information for me to help..
Martin
Hi martin,
I Made the property of style sheet. Then when i applyed that property in the ritch editor and press save and publish the property is removed....
Sorry Prasad, I can't understand what you mean. It would be better if you posted your code.
Hi Prasad,
Could you post your stylesheet (or the relevant part of it) and the HTML code you are trying to save/format (content of the HTML view just before you try to save)? By default, I think the rich text editor does not allow to apply styles on all html tags, so maybe the problem resides in the rich text editor configuration. Posting some code might indeed help us identify the problem.
Cheers,
Michael.
Hi Prasad
sounds like you have created a stylesheet in the stylesheet section of Umbraco, right?
Then you need to define if it should match an element or a class.
If you are defining classes you should remember to use dot before the class name in the alias field
Name: MyClass
Alias: .MyClass
If you have named the alias wrongly it will not have any effect. Remember that the effect will not be shown in the RTE content but only on the website.
Please do also make sure you don't have the same class or element definition in another stylesheet, which could have a higher specification than the declaration you have created in the umbraco stylesheet for your RTE.
I hope it makes sense.
Please do also see this wiki entry http://our.umbraco.org/wiki/how-tos/customizing-the-wysiwyg-rich-text-editor-%28tinymce%29/add-styles-to-the-drop-down-menu-for-editors-to-use, which takes you through all the steps, in case you have missed something in the process.
/Jan
Did you enable the stylesheet from developer > DateTypes > RichText Editor? Are you able to choose the style from the dropdown?
Hi jan,
Thanks a lot.....
is working on a reply...