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

page break on tag ol #15

Open
aditsheli opened this issue Mar 21, 2022 · 4 comments
Open

page break on tag ol #15

aditsheli opened this issue Mar 21, 2022 · 4 comments
Labels

Comments

@aditsheli
Copy link

aditsheli commented Mar 21, 2022

bug appear when js function try to page break tag li in ol, any solution?

@ocram ocram added the question label Mar 21, 2022
@ocram
Copy link
Contributor

ocram commented Mar 21, 2022

Thanks! Could you share a screenshot of the (unexpected) result? And perhaps the code excerpt used to create this?

@aditsheli
Copy link
Author

bug

like this sir, thank you in advance for your reply

@ocram
Copy link
Contributor

ocram commented Mar 22, 2022

Thanks, that’s helpful.

Could it be that you are trying to use a manual page break like <div class="page-break"></div>, or just any element with class="page-break", somewhere in there?

The JavaScript adjustments – so far – run on <p> only, so <ul> and <ol> should not be split up.

@ocram
Copy link
Contributor

ocram commented Mar 27, 2022

The JavaScript adjustments are now run on <ul> and <ol> as well, but still not within those elements. Perhaps this fixes the problem. Changed in c48148c .

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

No branches or pull requests

2 participants