Request for Automatic Line Break Configuration in PDF Reader Text Annotations
Hi everyone,
I’d like to submit a feature request to enhance the text annotation experience in Zotero’s PDF reader. Currently, when adding text annotations, line breaks depend entirely on the width of the annotation box. While I can manually resize the box to control wrapping, this requires repetitive adjustments and feels inefficient.
I’d like to suggest adding the following features:
1. Configurable Auto Line Break: Allow users to set a character limit (e.g., 50 characters per line), after which the text automatically wraps to the next line.
2. Boundary-Aware Wrapping: Enable text to intelligently wrap based on the annotation box’s fixed width, without requiring manual resizing.
Use Case:
When I add longer notes in a PDF, I’d prefer the text to wrap automatically at a specified length for better readability, rather than appearing as a single, overly long line.
For annotations I export or share, consistent line breaks would make the formatting cleaner and more professional.
I understand that Zotero’s PDF reader is built on PDF.js, which might impose some limitations, but adding this functionality would greatly improve the annotation workflow. If there are existing plugins or workarounds for this, I’d love to hear about them too!
Thanks to the Zotero team and community for all your hard work—looking forward to your thoughts!
I’d like to submit a feature request to enhance the text annotation experience in Zotero’s PDF reader. Currently, when adding text annotations, line breaks depend entirely on the width of the annotation box. While I can manually resize the box to control wrapping, this requires repetitive adjustments and feels inefficient.
I’d like to suggest adding the following features:
1. Configurable Auto Line Break: Allow users to set a character limit (e.g., 50 characters per line), after which the text automatically wraps to the next line.
2. Boundary-Aware Wrapping: Enable text to intelligently wrap based on the annotation box’s fixed width, without requiring manual resizing.
Use Case:
When I add longer notes in a PDF, I’d prefer the text to wrap automatically at a specified length for better readability, rather than appearing as a single, overly long line.
For annotations I export or share, consistent line breaks would make the formatting cleaner and more professional.
I understand that Zotero’s PDF reader is built on PDF.js, which might impose some limitations, but adding this functionality would greatly improve the annotation workflow. If there are existing plugins or workarounds for this, I’d love to hear about them too!
Thanks to the Zotero team and community for all your hard work—looking forward to your thoughts!
Could you share a screenshot showing what you consider an overly long line, and another one of how you expect it to look?
https://s3.amazonaws.com/zotero.org/images/forums/u12460241/nmmoteh04wu2u0lhu5pm.png
@martynas_b Thank you for your response, and I apologize for replying a bit late. As shown in the image above, when I continuously type the word "test" and reach the edge of the PDF page, it automatically extends the page, causing the proportions to become uneven. What I would prefer is for it to automatically wrap to the next line when it reaches the page edge or the set maximum length, with the final result looking like the image below.
https://s3.amazonaws.com/zotero.org/images/forums/u12460241/xusrrek1s9ug9004owuz.png
Thank you again for your attention and reply!