public KenticoRichTextWidgetController() : this(new RichTextGetLinkMetadataActionExecutor(new PagesRetriever(SiteContext.CurrentSiteName), new MediaFilesRetriever(SiteContext.CurrentSiteName), SystemContext.ApplicationPath, SiteContext.CurrentSiteName), Service.Resolve <IEventLogService>()) { configuration = new RichTextWidgetConfiguration(); }
/// <summary> /// Constructor which accepts configuration for rich text editor customization. /// </summary> /// <param name="configuration">Rich text widget configuration.</param> protected KenticoRichTextWidgetController(RichTextWidgetConfiguration configuration) : this() { this.configuration = configuration; }