Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
A new way to maintain style while exporting a resume as a Word document has been introduced with the latest version to the ResumeDocDownload component. This solves the problem of the exported Word document losing style. To ensure that the original styling is preserved during the export process, the approach entails establishing a custom CSS stylesheet specifically for the Word document.
The goal of this modification is to improve our resume-building application's export capabilities. We noticed that the user experience was being negatively impacted by the Word document export's loss of style. Our goal is to provide the exported Word document a more polished and professional representation of the resume layout and formatting by implementing a custom CSS stylesheet. The entire user experience for those utilizing our resume-building function is improved by this update.
This change's main library need is html-docx-js, which makes it easier to convert HTML information to Word document format.
Please install the above mentioned library by the following command
npm install html-docx-js
Checklist