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: No widows #104

Open
1 task done
sawyerclick opened this issue Sep 25, 2023 · 0 comments
Open
1 task done

Option: No widows #104

sawyerclick opened this issue Sep 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@sawyerclick
Copy link
Contributor

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

  • I agree to follow figma2html's Code of Conduct
@sawyerclick sawyerclick added the enhancement New feature or request label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant