figma2html
figma2html copied to clipboard
Option: No widows
Describe the problem
feature req. from Texas Tribune to have a way to prevent widows
Describe the proposed solution
Could look into like widont from journalize for inspo, but this may be a bit out of our scope?
My best guess: we send a separate script at build time that grabs either all text nodes or text nodes with a .widont class (can be set via our html attribute setters)
Alternatives considered
This is a niche ask and users could fine-tune graphics themselves, using the new Whole Variables mode where you can inject values and then further tweak the width/sizes of the parent
Importance
nice to have
Code of Conduct
- [X] I agree to follow figma2html's Code of Conduct