Copied to clipboard

Flag this post as spam?

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


  • Paul Sørensen 304 posts 650 karma points
    May 02, 2009 @ 09:25
    Paul Sørensen
    0

    Styles in editor


    Hi

    How can I add/control the styles shown in the built-in editor. I suppose it's done in a stylesheet but how is that 'put' into the editor?

    Paul S

  • ianhoughton 281 posts 605 karma points c-trib
    May 02, 2009 @ 10:52
    ianhoughton
    0

    If you look in Settings > Stylesheets > Editor, you should be able to add new styles. These will then appear in the dropdown box. Remember when putting the css into the style box dont wrap them in curly brackets. (These get added automatically)

  • Finn 86 posts 50 karma points
    May 02, 2009 @ 20:46
    Finn
    0

    You can get a lot of info from the following post.

    http://forum.umbraco.org/yafpostst4730Customised-TinyMCE-Editor-to-Allow-Heading-Tags-to-be-applied.aspx

    Look for the 6 th post of 22. april 2008 16:31:06 by drobar and follow it from there.

    Hope it helps you getting started.

    /Finn

  • Paul Sørensen 304 posts 650 karma points
    May 02, 2009 @ 20:48
    Paul Sørensen
    0


    Hi z
    I think adding styles must be done in some specific way, because I have created a css file and placed it under stylesheets.
    I used the styles on the pages where I write the html myself. but I don't have any styles in the dropdown in my editor

    Paul S

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    May 02, 2009 @ 22:15
    Jan Skovgaard
    1

    Hi Pas

    Yes the styles to be used in the rich text editor must be created under the settings -> stylesheets - Create a stylesheet for rich text purposes only. You could for instance call it "Rich Text Styles". When you have done that you can create styles for headers by right-clicking your "Rich Text Styles" stylesheet and add a style called "Header" and write h1 in the alias field.

    Here you can define the looks for the h1 element.

    When you are done go to developer -> datatypes -> rich text editor and make sure that "Rich Text Styles" is checked.

    I hope you can use this description.

  • Paul Sørensen 304 posts 650 karma points
    May 03, 2009 @ 19:54
    Paul Sørensen
    0


    Thanks all guys
    I got it all figured out now
    Finn - the 'z' was a typo - I didn't see it until the response was posted
    - it should have been
    Hi Finn

    Thanks Paul S

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies