Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grammarly issue #132

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

ratnayake
Copy link

There is an issue with both vue2 and vue3 versions. The issue is if you have Grammarly enabled print popup windows autoclose without print or if you disabled autoclose popup will load forever I did a simple fix to sort this issue.

jofftiquez and others added 7 commits June 9, 2023 09:31
…toClose option

The `vue-html-to-paper.js` file has been updated to include support for two new options: `windowTitle` and `autoClose`. The `windowTitle` option allows the user to specify a custom title for the print window, while the `autoClose` option allows the user to control whether the print window should automatically close after printing or not. The `setTimeout` function has been updated to check the value of `autoClose` before closing the window.

🔧 chore(index.js): add autoClose and windowTitle options to VueHtmlToPaper
This commit adds two new options to the VueHtmlToPaper object: autoClose and windowTitle. The autoClose option allows the user to specify whether the print window should automatically close after printing. The windowTitle option allows the user to specify a custom title for the print window. These options can be passed in as localOptions or as part of the global options object.

🔧 chore(index.js): add autoClose and windowTitle options to VueHtmlToPaper
This commit adds two new options to the VueHtmlToPaper object: autoClose and windowTitle. The autoClose option allows the user to specify whether the print window should automatically close after printing. The windowTitle option allows the user to specify a custom title for the print window. These options can be passed in as localOptions or as part of the global options object.
@chris-jamieson
Copy link

Just a note to say I also experienced this issue. Thanks for working on a fix.

@ratnayake
Copy link
Author

ratnayake commented Jul 8, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants