Skip to content

Commit 531c9b2

Browse files
authored
KX-18559 Ensure usages extraction for the Text widget
1 parent 82c0875 commit 531c9b2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Kentico.Xperience.Mjml.StarterKit.Rcl/Widgets/TextWidget/TextWidgetProperties.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
namespace Kentico.Xperience.Mjml.StarterKit.Rcl.Widgets;
1+
using CMS.ContentEngine;
2+
3+
using Kentico.EmailBuilder.Web.Mvc;
4+
5+
namespace Kentico.Xperience.Mjml.StarterKit.Rcl.Widgets;
26

37
/// <summary>
48
/// Configurable properties of the <see cref="TextWidget"/>.
@@ -8,5 +12,6 @@ public sealed class TextWidgetProperties : WidgetPropertiesBase
812
/// <summary>
913
/// The widget content.
1014
/// </summary>
15+
[TrackContentItemReference(typeof(ContentItemReferenceExtractor))]
1116
public string Text { get; set; } = string.Empty;
1217
}

0 commit comments

Comments
 (0)