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

Allow custom non-breaking elements #141

Open
wallacio opened this issue Feb 2, 2023 · 0 comments
Open

Allow custom non-breaking elements #141

wallacio opened this issue Feb 2, 2023 · 0 comments

Comments

@wallacio
Copy link

wallacio commented Feb 2, 2023

It would be great if it was possible to specify an element by tag/class/id, inside which content should not break (similar to issue #87 for anchor tags, really).

My primary goal is to prevent some other JS from breaking when the content is split, but I can see more generic uses of this.

If that's possible, it would also be good to be able to then specify whether the content should then break before, or after the non-breaking element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant