Adding custom attributes to TRichViewEdit.
Posted: Sat May 10, 2025 6:33 pm
Is it possible to add custom HTML attributes (like 'data-id', 'data-type' etc.) to specific elements (e.g., images, tables, spans) within TRichViewEdit? I need to store some metadata alongside the content for processing later. I've explored the HTML export options but haven't found a straightforward way to inject these custom attributes. Any suggestions or examples would be greatly appreciated! I'm using Delphi 10.4.