Copied to clipboard

Flag this post as spam?

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


  • Ravinay 2 posts 82 karma points
    Apr 21, 2023 @ 22:52
    Ravinay
    0

    Adding iframe code to a webpage in Umbraco

    I am having trouble adding an iframe to a webpage using Umbraco CMS.

    I do know that TinyMCE is allowing IFRAME code to be inserted as I've seen iframe[*] in the tinyMceConfig.config file.

    Can someone please give me directions on how to resolve this issue?

  • Marc Love (uSkinned.net) 447 posts 1789 karma points
    Apr 23, 2023 @ 14:56
    Marc Love (uSkinned.net)
    101

    Hi Ravinay,

    Could you use a Textarea property and use @Html.Raw(YOUR PROPERTY OUTPUT) to render the iFrame?

    Cheers,

    Marc

  • Ravinay 2 posts 82 karma points
    Apr 23, 2023 @ 20:55
    Ravinay
    0

    Thanks Marc. That worked to render the IFrame.

  • Marc Love (uSkinned.net) 447 posts 1789 karma points
    Apr 24, 2023 @ 08:32
    Marc Love (uSkinned.net)
    0

    Great, can you mark the reply as an answer to help other people with this issue?

Please Sign in or register to post replies

Write your reply to:

Draft