Based on the documentation, I am trying to create a preview for one of the blocks I have. The block essentially has only one XHTMLString property. I created a partial view with the name of the Block and kept it in the views/shared/blocks folder but it doesn't give me the option to preview.
Is there anything am missing? Per documentation I don't necessarily need controller or view model.
Thank you for this. I will give this a try. I was under assumption that no controller or view model required (but I guess that meant no block specific controller or view model required) I will update once I have tried this.
Hello team,
Based on the documentation, I am trying to create a preview for one of the blocks I have. The block essentially has only one XHTMLString property. I created a partial view with the name of the Block and kept it in the views/shared/blocks folder but it doesn't give me the option to preview.
Is there anything am missing? Per documentation I don't necessarily need controller or view model.