docs
docs copied to clipboard
🐛(docx) fix image overflow by limiting width to 600px during export
Purpose
Fix a bug causing images to overflow page width during DOCX export.
issue 1505
Proposal
- [x] Calculate a final width capped at 600px using
Math.min(previewWidth || width, MAX_WIDTH) - [x] Ensure proportional height scaling
- [x] Prevent images from exceeding the page width when no preview width is defined
Size Change: +2 B (0%)
Total Size: 3.68 MB
| Filename | Size | Change | |
|---|---|---|---|
apps/impress/out/_next/static/e11e0634/_buildManifest.js |
0 B | -884 B (removed) | 🏆 |
apps/impress/out/_next/static/e5608152/_buildManifest.js |
883 B | +883 B (new file) | 🆕 |