# Help with Custom Rectangle tool button

**URL:** <https://pdfjs.community/t/help-with-custom-rectangle-tool-button/224>\
**Category:** Technical Support\
**Created:** [August 24, 2020, 6:23am UTC](https://pdfjs.community/t/help-with-custom-rectangle-tool-button/224 "2020-08-24T06:23:24Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![maharoh9841](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/maharoh9841/32/88_2.png) [@maharoh9841](https://pdfjs.community/u/maharoh9841)\
**Post date:** [August 26, 2020, 3:19am UTC](https://pdfjs.community/t/help-with-custom-rectangle-tool-button/224/5 "2020-08-26T03:19:55Z")

</div>

I checkded the console there are no 404s,  
Heres’ the code I use to load PDF.Js Express,  
this.webViewerInstance = WebViewer(  
{  
path: “…/lib/public”,  
//initialDoc: “…/files/webviewer-demo-annotated.pdf”,  
config: “…/assets/myConfig.js”,  
},  
this.viewer.nativeElement  
);  
Here’s the folder structure for lib folder  
 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/1aa2ae6364461458e68a1b07f5274dfb3409a0f7.png)

---

_[View the full topic](https://pdfjs.community/t/help-with-custom-rectangle-tool-button/224)._
