convert Quill's empty content to empty string

This commit is contained in:
sbwalker 2024-04-12 15:10:47 -04:00
parent 39dff1ea7c
commit bc978a91e3

View File

@ -248,6 +248,11 @@
if (richhtml != _originalrichhtml && !string.IsNullOrEmpty(richhtml))
{
// convert Quill's empty content to empty string
if (richhtml == "<p><br></p>")
{
richhtml = string.Empty;
}
return richhtml;
}
else