[FEATURE] splitText text-wrap-style support
Author: glypseCreated Sep 4, 2026Updated Sep 4, 2026
Labelsfeature proposal
The current splitText feature splits text like text-wrap-style: auto;. It would be great to have text splitting like balance and pretty.
I guess that ideally splitText would detect the computed text style on the original text (ie: via getComputedStyle()), or we could manually pass it as a setting like splitText(target, {text-wrap-style: "balance",});.
No real alternative available.
This feature would be great for neater text control.
Source: juliangarnier/anime