Do you have an issue with a specific file(s)? No
Can you reproduce using one of our samples or online demos? Yes
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? Yes
Is your issue related to annotations? Yes
Please give a brief summary of your issue:
Hi,
I’d like to programmatically add rich text content to a textbox annotation using the SDK. Ideally, I want to be able to import structured content (I’m ok with either in HTML or JSON, etc.). And would like it to render correctly inside the textbox annotation on my document.
Currently, I see that textbox annotations support basic formatting such as bold, italics, underline, and strikethrough. However, I’m interested in extending this to richer formatting capabilities, including:
Headings (H1, H2, H3)
Ordered and unordered lists (numbered and bullet points)
Indentation and nested list support
Tables
Images
What are your thoughts on whether this level of rich content is supported or can be achieved via the SDK? If not directly supported, are there recommended approaches or workarounds you may have?
Currently, we do not support the formatting capabilities mentioned. There are no known workarounds at this time due to how we currently translate the text in the RichTextEditor to the annotation’s contents. This is why you may notice copying some formatted content and pasting it in the editor may appear correct at first until the editor is blurred.
There is currently a feature request active on our backlog regarding ordered/unordered lists, I’ve added a note regarding your interest to see this request expanded to include the other capabilities. The feature is not currently on our roadmap, but we can forward any information for our Product team to review.
If you could provide some further information around the context of why you want the feature, this may help prioritize its development. We would be interested to know:
What is the workflow that you would use the requested feature in?
Why is the feature valuable to you and your users?
How are you coping without it right now?
Best Regards,
Jacob Romano Carlsen
Web Development Support Engineer
Apryse Software Inc.
Appreciate the response, I’m ok with adding context to the existing feature request.
Answers to your bullets:
Allow users to apply rich text to annotation comments. As a result, rich text is visible in the comment panel in WebViewer as well as in the comment panel in Adobe when downloading the document containing this rich comment.
I’m in the AES space, rich text, additional formatting, tables, images, etc. add extra content for reviewers/permit tech to collaborate effectively and efficiently.
We are implementing our own ‘Comment’ tool, registering new tool, once tool is enabled click on doc to add new ‘Comment’, onClick open a dialog with TipTap, user enters rich text, clicks save/apply, create an image of a box holding rich text (With additional details about the annotation in the header space of this annotation, author, increment comment count, time created), place image onto document. We don’t see text in notes panel for our annotation (In neither WebViewer nor Adobe), but visually we see rich text on our document. annotation is resizeable, moveable, etc.
If there is any other information you would like to add to your feature request, please do not hesitate to reach out on this forum post. We appreciate your feedback and insights!
Best Regards,
Jacob Romano Carlsen
Web Development Support Engineer
Apryse Software Inc.