Copied to clipboard

Flag this post as spam?

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


  • Niels Henriksen 74 posts 277 karma points
    Nov 29, 2024 @ 12:22
    Niels Henriksen
    0

    How to get content from TipTap Editor

    I am using U15 and want to use the new TipTap editor. But how can I get the content out?

    If I just use Model.Value("content") then I get the content as

    {"markup":"\u003Cp\u003EVi ..... skriv dig op. \u003C/p\u003E","blocks":{"contentData":[],"settingsData":[],"expose":[],"Layout":{}}}

    But how to use that?

  • Damian 77 posts 400 karma points
    Dec 10, 2024 @ 22:41
    Damian
    0

    i suspect you need the magic contained within @inherits UmbracoViewPage< model > that will give you the markup as well as having all the internal links guids, for example, resolved into actual urls.

    This documentation page is likely the helpful link to get you going.

    And this documentation is for the RTE specifically.

    Hope this is helpful!

Please Sign in or register to post replies

Write your reply to:

Draft