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

Remove *Shorten on Print #10

Open
lenichols opened this issue Sep 5, 2013 · 2 comments
Open

Remove *Shorten on Print #10

lenichols opened this issue Sep 5, 2013 · 2 comments

Comments

@lenichols
Copy link

I am trying to expand shorten on print... what is the best method? So far, hiding the class .shortcontent does not work. What would you suggest? Other han that... great script.

@MarcDiethelm
Copy link
Owner

It seems that there is no cross-browser solution for that: http://stackoverflow.com/a/15713060/546491
In browsers that support text-overflow: ellipsis it would be possible to use a print style sheet that overrides the ellipsis. Shorten is implemented using inline styles, so the print style sheet would have to use the !importantkeyword to be effective.

@ConnectedReasoning
Copy link

Pending an official method to expand the text, you can always trigger a click event on the generated tail element.This would only work if you can intercept the print event from your browser

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

No branches or pull requests

3 participants