Skip to content

Instantly share code, notes, and snippets.

@sitefinitySDK
Created October 25, 2024 23:14
Show Gist options
  • Save sitefinitySDK/cad5ea9d90a68e5a7b937953c12be08e to your computer and use it in GitHub Desktop.
Save sitefinitySDK/cad5ea9d90a68e5a7b937953c12be08e to your computer and use it in GitHub Desktop.
using Progress.Sitefinity.AspNetCore.Widgets.Models.ContentBlock;
namespace Renderer.ViewModels
{
/// <summary>
/// Extended viewModel for the ContentBlock view component.
/// </summary>
public class ExtendedContentBlockViewModel : ContentBlockViewModel
{
public ExtendedContentBlockViewModel(ContentBlockViewModel source)
{
this.Content = source.Content;
this.WrapperCssClass = source.WrapperCssClass;
this.TagName = source.TagName;
}
public string ModifiedContent { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment