Brief bug description
Passing assetsDomain parameter to the DeliveryClient constructor only replaces the asset domain for assets themselves. However, the links that link to the assets still have kontent-ai original asset domain e.g. https://assets-au-01.kc-usercontent.com or https://preview-assets-au-01.kc-usercontent.com.
What went wrong?
Repro steps
- Need to have configured custom domain
- Go to any RTE fields
- Add link to assets
- See the returned example

Expected behavior
The custom domain should be used instead of original assets domain
Test environment
- Platform/OS: Windows 11
- Browser: Chrome
- Version 104.0.5112.81