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

Option to keep certain groups of letters from splitting? (specialChars in SplitText) #79

Open
chigggsy opened this issue Mar 7, 2024 · 0 comments

Comments

@chigggsy
Copy link

chigggsy commented Mar 7, 2024

If you're using ligatures and want to split by characters, an issue pops up where since each character is an individual, it won't recognise the character beside and won't be able to show in its ligature form. I've recreated the problem in a CodePen below. The solution with GSAP's SplitText plugin are prop where you can prevent certain combinations of letters from being split individually. Is there something in the Split Type library that does something similar? I couldn't find it in the docs but wondering if I've accidentally glossed over it?

Edit: Sorry forgot to post a link to the CodePen: https://codepen.io/chigggsy/pen/GRLpLRG

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

1 participant