예제 #1
0
 public KenticoRichTextWidgetController()
     : this(new RichTextGetLinkMetadataActionExecutor(new PagesRetriever(SiteContext.CurrentSiteName), new MediaFilesRetriever(SiteContext.CurrentSiteName), SystemContext.ApplicationPath, SiteContext.CurrentSiteName),
            Service.Resolve <IEventLogService>())
 {
     configuration = new RichTextWidgetConfiguration();
 }
예제 #2
0
 /// <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;
 }