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