Scherling
07/10/2024, 8:45 AMIPropertyValueConverter
that I have set up to handle a specific RTE datatype I have created.
I can tell, however, that I am overriding functionality "too early". When implementing the ConvertSourceToIntermediate()
method, I can see that the source does not contain what I am seeing in the API output (The markup contains a Udi reference rather than a url of the media item).
I would like the built-in conversion from source data to the API output to still apply, and then make my custom changes afterwards.
In other words, I would like to alter the markup outputted from the RichTextEditor when it contains this src="http://my-test-site/media/12cbr4lj/myimage-01.jpg"
rather than this: data-udi="umb://media/f91804d9c36943aea28df76a7f89d800"
Is there a way I can hook into the Content Delivery API response after the default conversion, but before it is returned in the request?
Or will I have to re-implement the built-in conversion from scratch and apply my changes?