Skip to content

Option: No widows #104

@sawyerclick

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions