|
|
@ -11,7 +11,7 @@ public class CmsKitContentWidgetOptions |
|
|
WidgetConfigs = new(); |
|
|
WidgetConfigs = new(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void AddWidget(string widgetKey, string widgetName, string editorWidgetName = null) |
|
|
public void AddWidget(string widgetKey, string widgetName, string editorWidgetName) |
|
|
{ |
|
|
{ |
|
|
var config = new ContentWidgetConfig(widgetName, editorWidgetName); |
|
|
var config = new ContentWidgetConfig(widgetName, editorWidgetName); |
|
|
WidgetConfigs.Add(widgetKey, config); |
|
|
WidgetConfigs.Add(widgetKey, config); |
|
|
|