ContentEditor possibility to upload image in html post

This commit is contained in:
Dominic Villemure
2024-10-12 18:14:02 -04:00
parent a7835670c6
commit deae0f75ba
11 changed files with 566 additions and 6 deletions

View File

@@ -11,7 +11,8 @@ public class Content
public Guid? DeletedBy { get; set; }
public DateTimeOffset? DeletedAt { get; set; }
[MaxLength(128)] public required string Title { get; set; }
[MaxLength(2048)] public required string Description { get; set; }
[MaxLength(2048)] public string Description { get; set; } = "";
public string? HtmlFileUrl { get; set; } = "";
public IList<ContentReaction> Reactions { get; set; } = new List<ContentReaction>();
public string[]? Urls { get; init; }
}