You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I am having trouble clamping text that has tags in it. Debugging this library it seems that it will eventually pull off the lastChild and perform truncation on that (Other text as show below).
My text
<br><br>
Other text
Just off the top of my head, it seems the only way for this to work is if the whole innerHTML was truncated as a string rather than looping to find the last child.
Is that your understanding as well? If it doesn't fit this use case, that is ok too! Still debugging this library and seeing how I can help.
The text was updated successfully, but these errors were encountered:
Currently I am having trouble clamping text that has
tags in it. Debugging this library it seems that it will eventually pull off the lastChild and perform truncation on that (
Other text
as show below).Just off the top of my head, it seems the only way for this to work is if the whole innerHTML was truncated as a string rather than looping to find the last child.
Is that your understanding as well? If it doesn't fit this use case, that is ok too! Still debugging this library and seeing how I can help.
The text was updated successfully, but these errors were encountered: