Copied to clipboard

Flag this post as spam?

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

  • Preetee Gangoosirdar 56 posts 257 karma points
    May 20, 2016 @ 11:12
    Preetee Gangoosirdar

    Cannot insert a mailto link in the rich text editor

    Hi Everyone,

    Am having trouble to insert an encrypted mailto link in the rich text editor in Umbraco version 7.4.1 assembly: 1.0.5891.23238 e.g If i insert the following the code in the rich text editor ,

    <a href="javascript:linkTo_UnCryptMailto('nbjmup;sftfswbujdsoAmvysftpsut/dpn');">[email protected]</a>

    Then ,do a save & published, its displays it's content only
    the [email protected] when inspect the element.

    Is it a bug or something has been missed during installation. Thank you for your kind response and helps.

  • M T 35 posts 212 karma points
    May 20, 2016 @ 11:30
    M T

    Hi Preetee G

    You have to options, create a macro and render the macro in the RTE or I would go down the route of creating a Text string data type and rendering the string in your template. Personally I don't use the RTE where possible.

    Depending on your design you could just render the string below your content.

    Regards M

  • Preetee Gangoosirdar 56 posts 257 karma points
    May 20, 2016 @ 12:21
    Preetee Gangoosirdar

    Hi MT,

    Thank you for your help, finally I got your point.

  • Marcin Zajkowski 104 posts 566 karma points MVP 3x c-trib
    May 22, 2016 @ 23:51
    Marcin Zajkowski


    if you are curious and for anyone potentially interested in achieving this goal without using additional macros for that, it just requires one additional configuration property to be added into /Config/tinyMceConfig.config file.

    This property is allow_script_urls ( and we can add this in

        <config key="entity_encoding">raw</config>
        <config key="codemirror">
          "indentOnInit": false,
          "path": "../../../../lib/codemirror",
          "config": {
          "jsFiles": [
          "cssFiles": [
        <config key="allow_script_urls">true</config>

    Then you will be able to put all scripts what you need inside the hrefs attributes :)

  • Preetee Gangoosirdar 56 posts 257 karma points
    May 23, 2016 @ 05:58
    Preetee Gangoosirdar

    Hi Marcin ,

    Great thanks you very much for help.

    Have a great Monday :)

  • Danjo007 1 post 71 karma points
    Jan 26, 2021 @ 16:53

    Hi I canĀ“t find this in my folder "/Config/tinyMceConfig.config". Could this be somewhere else?

    Thanks a lot Danielenter image description here

Please Sign in or register to post replies

Write your reply to: