Remove RTE embedded image handling + clean up file upload configuration (#16025)

This commit is contained in:
Kenn Jacobsen
2024-04-11 10:40:44 +02:00
committed by GitHub
parent 10fa3b87bf
commit 459cd79a06
6 changed files with 189 additions and 36 deletions

View File

@@ -3,8 +3,8 @@ namespace Umbraco.Cms.Core.PropertyEditors;
/// <summary>
/// Represents the configuration for the file upload address value editor.
/// </summary>
public class FileUploadConfiguration : IFileExtensionsConfig
public class FileUploadConfiguration
{
[ConfigurationField("fileExtensions")]
public List<FileExtensionConfigItem> FileExtensions { get; set; } = new();
public IEnumerable<string> FileExtensions { get; set; } = Enumerable.Empty<string>();
}

View File

@@ -1,9 +0,0 @@
namespace Umbraco.Cms.Core.PropertyEditors;
/// <summary>
/// Marker interface for any editor configuration that supports defining file extensions
/// </summary>
public interface IFileExtensionsConfig
{
List<FileExtensionConfigItem> FileExtensions { get; set; }
}