Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Good morning everyone, I just want to see if there is a way to create a block that allows you to select a macro and its parameters - like the old grid editor had. I'm working in Umbraco 11 where the grid editor no longer is an option to use.
I don't think so, I replaced my macros with a blockgrid component and viewcomponent to render it. I'm travelling at the moment, but can post an example over the weekend
I was just trying to find a way to do this myself. Currently there isn't a property editor for that. However you could try making your own "Macro Picker" property editor yourself by reusing/copying the existing Backoffice angular controllers and razor files from the existing macro grid editor.
That way you'd be able to make data types that can be added to your block grid document types. I might try requesting this property editor to be an OOTB feature in Umbraco's GitHub if there isn't any plans to phase out macro views.
Just wanted to say thank you everyone for the response, I went with creating a block with the parameters I would have used in the macro.
I really do hope that they add a macro select property editor in the future.
Thanks again everyone.
Hi Robert, what do you have in your partial view for the block element to get the macro to display? Currently I'm adding macros through the rich text editor but I really don't like that workflow.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted