add support for public content folders
This commit is contained in:
		| @ -51,7 +51,7 @@ | ||||
|             if (htmltext != null) | ||||
|             { | ||||
|                 _content = htmltext.Content; | ||||
|                 _content = _content.Replace(Constants.ContentUrl, Utilities.TenantUrl(PageState.Alias, Constants.ContentUrl)); | ||||
|                 _content = Utilities.FormatContent(_content, PageState.Alias, "render"); | ||||
|                 _createdby = htmltext.CreatedBy; | ||||
|                 _createdon = htmltext.CreatedOn; | ||||
|                 _modifiedby = htmltext.ModifiedBy; | ||||
| @ -72,7 +72,7 @@ | ||||
|     private async Task SaveContent() | ||||
|     { | ||||
|         string content = await RichTextEditorHtml.GetHtml(); | ||||
|         content = content.Replace(Utilities.TenantUrl(PageState.Alias, Constants.ContentUrl), Constants.ContentUrl); | ||||
|         content = Utilities.FormatContent(content, PageState.Alias, "save"); | ||||
|  | ||||
|         try | ||||
|         { | ||||
|  | ||||
| @ -26,7 +26,7 @@ | ||||
|             if (htmltext != null) | ||||
|             { | ||||
|                 content = htmltext.Content; | ||||
|                 content = content.Replace(Constants.ContentUrl, Utilities.TenantUrl(PageState.Alias, Constants.ContentUrl)); | ||||
|                 content = Utilities.FormatContent(content, PageState.Alias, "render"); | ||||
|             } | ||||
|         } | ||||
|         catch (Exception ex) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shaun Walker
					Shaun Walker