Copied to clipboard

Flag this post as spam?

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


  • J 2 posts 72 karma points
    Jan 27, 2021 @ 23:42
    J
    0

    Widgets and Iframes and Custom HTML

    I'm working with a client who'd like to use an HTML widget. The issue is that when I add the widget to a page, the editor strips out some of the code that points to offsite resources that are necessary for the widget to work. Is there a way to configure the editor so that it doesn't do this? I'm pretty new to Umbraco, my previous experience is with Joomla and WP.

  • Jannik Anker 48 posts 258 karma points c-trib
    Jan 28, 2021 @ 09:08
    Jannik Anker
    0

    You could try creating a macro and allow the HTML to be added via a parameter, I guess.

    https://our.umbraco.com/Documentation/Reference/Templating/Macros/

    The RTE shouldn't mess with the output of the macro.

  • J 2 posts 72 karma points
    Feb 08, 2021 @ 05:28
    J
    0

    Sorry for the radio silence on this--got tied up in other projects.

    I looked at the documentation you linked and I tried creating a macro, but it didn't do anything. It just displays a line that says

    I'm going to betray my inexperience and ask if there's a step-by-step tutorial for macro making.

Please Sign in or register to post replies

Write your reply to:

Draft