This commit is contained in:
nzdev
2021-07-09 21:22:30 +12:00
parent b119201480
commit 6a8ed8012c

View File

@@ -14,11 +14,7 @@ namespace Umbraco.Core.PropertyEditors
{
public bool IsCompressed(IReadOnlyContentBase content, PropertyType propertyType, IDataEditor dataEditor, bool published)
{
if (published)
{
return false;
}
if (propertyType.SupportsPublishing && propertyType.ValueStorageType == ValueStorageType.Ntext)
if (!published && propertyType.SupportsPublishing && propertyType.ValueStorageType == ValueStorageType.Ntext)
{
//Only compress non published content that supports publishing and the property is text
return true;