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 76 posts 202 karma points
    Sep 29, 2017 @ 10:02
    David Gregory

    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?


    enter image description here

  • Alex Skrypnyk 6054 posts 23213 karma points MVP 5x admin c-trib
    Sep 29, 2017 @ 10:50
    Alex Skrypnyk

    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?



  • David Gregory 76 posts 202 karma points
    Sep 29, 2017 @ 11:26
    David Gregory

    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 267 posts 548 karma points c-trib
    Sep 11, 2019 @ 13:18

    Did you find a solution for this ? :)

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

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

    {{ pickerAlias | ncRichText }}

    For more information just read the documentation :)

  • Peter Cort Larsen 396 posts 930 karma points
    Nov 08, 2020 @ 15:06
    Peter Cort Larsen

    You can do this:




Please Sign in or register to post replies

Write your reply to: