Copied to clipboard

Flag this post as spam?

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


  • David Gregory 73 posts 199 karma points
    Sep 29, 2017 @ 10:02
    David Gregory
    0

    Using RTE property as Name Template in Nested Content

    Hello all

    I need to use a RTE value as the Name Template in Nested Content but when it gets displayed to the user on the editing screen it's showing the html.

    Is there a way to not show the html?

    Thanks

    enter image description here

  • Alex Skrypnyk 5508 posts 20677 karma points MVP 3x admin c-trib
    Sep 29, 2017 @ 10:50
    Alex Skrypnyk
    0

    Hi David,

    It's not a perfect idea to output RTE content as a name of the item. What if the editor adds a lot of content to this RTE?

    Can you change that?

    Thanks,

    Alex

  • David Gregory 73 posts 199 karma points
    Sep 29, 2017 @ 11:26
    David Gregory
    0

    Yes I agree, it's not ideal but I don't have an appropriate field to use instead and I don't want to add a field just for the user to enter a title for the template name.

    I did try doing something like this but it doesn't seem to accept the begin param

    {{myPropertyName | limitTo : 30 : 3}}
    
  • Thomas Hansen 137 posts 353 karma points
    Sep 11, 2019 @ 13:18
    Thomas Hansen
    0

    Did you find a solution for this ? :)

  • Torro 1 post 72 karma points
    Nov 06, 2019 @ 10:03
    Torro
    1

    You can use the angular filter "| ncRichText" to show the unformatted text like here:

    {{ pickerAlias | ncRichText }}
    

    For more information just read the documentation :)

Please Sign in or register to post replies

Write your reply to:

Draft