Files
Umbraco-CMS/src/Umbraco.Infrastructure/PropertyEditors/RichTextPropertyNotificationHandler.cs
Laura Neto 9a96ebf812 Replace keys in Rich Text Editor blocks on clone operations (#19526)
* Regenerate keys in RTE blocks on clone operations

This was already present for BlockList and BlockGrid, but not Blocks in RTE.

* Small adjustment from code review
2025-06-12 07:03:49 +02:00

21 lines
624 B
C#

// Copyright (c) Umbraco.
// See LICENSE for more details.
using Microsoft.Extensions.Logging;
using Umbraco.Cms.Core.Models.Blocks;
namespace Umbraco.Cms.Core.PropertyEditors;
/// <summary>
/// A handler for Rich Text editors used to bind to notifications.
/// </summary>
public class RichTextPropertyNotificationHandler : BlockEditorPropertyNotificationHandlerBase<RichTextBlockLayoutItem>
{
public RichTextPropertyNotificationHandler(ILogger<RichTextPropertyNotificationHandler> logger)
: base(logger)
{
}
protected override string EditorAlias => Constants.PropertyEditors.Aliases.RichText;
}