# Is there any option to wrap text in freetextannotations

**URL:** <https://pdfjs.community/t/is-there-any-option-to-wrap-text-in-freetextannotations/1929>\
**Category:** Technical Support\
**Created:** [August 10, 2022, 9:03am UTC](https://pdfjs.community/t/is-there-any-option-to-wrap-text-in-freetextannotations/1929 "2022-08-10T09:03:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lakshan](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@lakshan](https://pdfjs.community/u/lakshan)\
**Post date:** [August 10, 2022, 9:03am UTC](https://pdfjs.community/t/is-there-any-option-to-wrap-text-in-freetextannotations/1929/1 "2022-08-10T09:03:50Z")

</div>

Need to wrap text same as word-break: break-all; css

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [August 10, 2022, 9:03am UTC](https://pdfjs.community/t/is-there-any-option-to-wrap-text-in-freetextannotations/1929/3 "2022-08-10T09:03:54Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Changing themes & colors using JavaScript - Setting WebViewer constructor CSS option](https://pdfjs.express/documentation/ui-customization/themes#setting-webviewer-constructor-css-option)
- [Browser support for PDF.js Express](https://pdfjs.express/documentation/learn-more/browser-support)
- [Integrating PDF.js Express Viewer into an existing Angular project - Integrate WebViewer - `webviewer.component.css`](https://pdfjs.express/documentation/get-started-viewer/angular/exist-project#%60webviewer.component.css%60)

APIs:
- [WebViewerInstance - setCustomModal(options)](https://pdfjs.express/api/7.0/WebViewerInstance.html#setCustomModal__anchor)
- [Core.Annotations.TextStrikeoutAnnotation - getContents()](https://pdfjs.express/api/Core.Annotations.TextStrikeoutAnnotation.html#getContents__anchor)
- [Annotations.Annotation - unassociateLinks()](https://pdfjs.express/api/7.0/Annotations.Annotation.html#unassociateLinks__anchor)

Forums:
- [Word wrap within textannotation widget](https://pdfjs.community/t/word-wrap-within-textannotation-widget/893/1)
- [How to change the default text in FreeTextAnnotation](https://pdfjs.community/t/how-to-change-the-default-text-in-freetextannotation/936/1)
- [Can fitText be used to set only height? If not, is there an alternative](https://pdfjs.community/t/can-fittext-be-used-to-set-only-height-if-not-is-there-an-alternative/896/5)

---

<div class="post-metadata">

**Author:** ![tgordon](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@tgordon](https://pdfjs.community/u/tgordon)\
**Post date:** [August 10, 2022, 5:15pm UTC](https://pdfjs.community/t/is-there-any-option-to-wrap-text-in-freetextannotations/1929/4 "2022-08-10T17:15:35Z")

</div>

Hello lakshan,

Currently we do not have an option for this, I have added this to our backlog.

Best regards,  
Tyler Gordon  
Web Development Support Engineer  
PDFTron
