Copied to clipboard

Flag this post as spam?

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


  • Allan Lange 6 posts 96 karma points
    Sep 30, 2015 @ 08:35
    Allan Lange
    0

    How do I activate horizontal rule <hr>-tag in RTE?

    Hi,

    I'm having trouble getting the hr-tag to show up as an option in the RTE on LeBlender. Can anyone help me out?

    FYI the solution is running on a 7.3.0-RC version.

    Thanks in advance.

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Oct 02, 2015 @ 06:34
    Dave Woestenborghs
    100

    There are some steps involved in this.

    First you go to the Settings section and create a new stylesheet called editor css.

    Than on the editor css you create a new style called HR. As a alias you can enter hr so this tag will be inserted.

    Then go to the developer section and go to datatypes. Find your grid datatype and change the settings for RTE.

    Enable the styles dropdown and select the editor stylesheet.

    Now you are all set.

    Dave

  • Allan Lange 6 posts 96 karma points
    Oct 02, 2015 @ 06:51
    Allan Lange
    0

    It did the trick, however, I wanted the hr to show up as an option after the Embed-option.enter image description here

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Oct 02, 2015 @ 06:55
    Dave Woestenborghs
    0

    Don't know if this is possible. Maybe this requires installing a tinyMce plugin and activating it.

    Dave

  • Gerty Engrie 130 posts 489 karma points c-trib
    Nov 16, 2015 @ 23:06
    Gerty Engrie
    1

    Just had the same issue :-) I checked the box in the datatype RTE but the button didn't show up. But..... if you add the following to your /config/tinymce.config (might need to restart the site after that so the cache gets cleared) the button will magically show up :-)

    <plugin loadOnFrontend="true">hr</plugin>
    

    Guess it is a bug : http://issues.umbraco.org/issue/U4-7297

Please Sign in or register to post replies

Write your reply to:

Draft