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

text-overflow:ellipsis not recognized by HTML2Canvas #324

Closed
mg4965 opened this issue Jan 23, 2014 · 8 comments
Closed

text-overflow:ellipsis not recognized by HTML2Canvas #324

mg4965 opened this issue Jan 23, 2014 · 8 comments

Comments

@mg4965
Copy link

mg4965 commented Jan 23, 2014

Hi,

I have an element that has the text-overflow:ellipsis style property assigned to it and when I try to get the image of that element via HTML2Canvas it seems like it is just ignored. Do you know if HTML2Canvas supports the text-overflow CSS property? If not, is there a simple way I can add it?

Thanks.

@brcontainer
Copy link
Contributor

Looked at the code and I believe that does not support it.
The best alternative is you manipulate text of your DOM using javascript and stop using "text-overflow" property (until support is implemented for "text-overflow").

Try this: http://www.bramstein.com/projects/text-overflow/

@mg4965 mg4965 closed this as completed Feb 24, 2014
@jasonvoirin
Copy link

Has this issue not been resolved? I am still seeing the issue.

@skadali
Copy link

skadali commented Feb 14, 2017

Yes I am seeing this issue too. We don't want to use a separate plugin for text-overflow. Is there any way to manipulate text of DOM using javascript (not jQuery).

@Lie8466
Copy link

Lie8466 commented Jun 25, 2018

Run into the same issue

@shlashkanna
Copy link

Still the issue is there. Chandana is trying to fix :)

@kylephp
Copy link

kylephp commented Apr 14, 2020

any progress on fixing it?

@cloydlau
Copy link

Follow up on this

@temsa
Copy link

temsa commented Sep 21, 2020

Following up on this too, @niklasvh will this be ever supported ? :)

Note: this link shows a way to support ellipsis in canvas

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

9 participants