Copied to clipboard

Flag this post as spam?

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


  • K.Garrein 164 posts 629 karma points
    Apr 24, 2018 @ 09:00
    K.Garrein
    0

    Bug macro not rendering in Grid Layout richtext editor

    Umbraco 7.10.3

    When I insert a macro in a Richtext Editor in a Grid Layout, the macro is not being rendered, I just get "Macro alias: CallToActionLink" on the website???

    For the moment the macro only contains the following. It also has 2 macro parameters that are not being used yet (1x textbox and 1x content picker):

    @inherits Umbraco.Web.Macros.PartialViewMacroPage
    <div>Hello world</div>
    

    A bug in Umbraco?

    Here you see the rendered website on the left and the Grid Layout with inserted macro on the right. Funny thing, the preview in the Grid Layout shows the correct content.

    Umbraco macro bug

  • K.Garrein 164 posts 629 karma points
    Apr 24, 2018 @ 09:59
    K.Garrein
    0

    Hmm, apparently I found this bug before, haha.

    I forgot about that.

    Here is a fix for it: https://gist.github.com/rasmuseeg/a1b3deed488e544ccc62

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies