Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Prasad joshi 35 posts 55 karma points
    Jan 04, 2011 @ 11:40
    Prasad joshi
    0

    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

     

  • Martin 48 posts 69 karma points
    Jan 08, 2011 @ 14:33
    Martin
    0

    Could you post your code? You haven't provided enough information for me to help..

    Martin

  • Prasad joshi 35 posts 55 karma points
    Jan 08, 2011 @ 14:43
    Prasad joshi
    0

    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....

  • Martin 48 posts 69 karma points
    Jan 08, 2011 @ 14:54
    Martin
    0

    Sorry Prasad, I can't understand what you mean. It would be better if you posted your code.

  • Michael Latouche 504 posts 819 karma points MVP 4x c-trib
    Jan 08, 2011 @ 15:23
    Michael Latouche
    0

    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.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 08, 2011 @ 15:57
    Jan Skovgaard
    0

    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

  • Rasmus Berntsen 215 posts 253 karma points c-trib
    Jan 08, 2011 @ 17:14
    Rasmus Berntsen
    1

    Did you enable the stylesheet from developer > DateTypes > RichText Editor? Are you able to choose the style from the dropdown?

  • Prasad joshi 35 posts 55 karma points
    Jan 10, 2011 @ 06:22
    Prasad joshi
    0

    Hi jan,

    Thanks a lot.....

Please Sign in or register to post replies

Write your reply to:

Draft