Skip to content

Option: No widows #104

Description

@sawyerclick

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions