Customize Comment Box in Notes Panel

WebViewer Version: 10.1.0

Do you have an issue with a specific file(s)? No
Can you reproduce using one of our samples or online demos? No
Are you using the WebViewer server? No
Does the issue only happen on certain browsers? No
Is your issue related to a front-end framework? No
Is your issue related to annotations? Yes

Please give a brief summary of your issue:
Customization of Comment Box in Notes Panel

Please describe your issue and provide steps to reproduce it:

Good day,

I would like to ask if there is a way to add html elements to the comment box. For example we would like to add a fixed text and a hyperlink and is not part of the comments text:
image

I did notice that in the XFDF, there is a “trn-custom-data” section where the WebViewer uses to store mentions and attachments data. I also see there is an API for getting/setting the custom data (in the form of Core.Annotations.Annotation.setCustomData(…)):

We are thinking to put our display text and URL data in this custom data area so that it’s saved as part of XFDF and then override something in the WebViewer to render these as a Link in the comment box. Is this possible?

Thank you!