Skip to content

Commit c48148c

Browse files
committedMar 27, 2022
Move around 'ul' and 'ol' elements as well as part of page breaking
1 parent 34c6e6e commit c48148c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
if (pages[p].clientHeight > pageHeightInPixels) {
101101
pages[p].insertAdjacentHTML("afterend", "<div class=\"page\" contenteditable=\"true\"></div>");
102102
pageCoords = pages[p].getBoundingClientRect();
103-
snippets = pages[p].querySelectorAll("h1, h2, h3, h4, h5, h6, p");
103+
snippets = pages[p].querySelectorAll("h1, h2, h3, h4, h5, h6, p, ul, ol");
104104

105105
for (var s = snippets.length - 1; s >= 0; s--) {
106106
snippetCoords = snippets[s].getBoundingClientRect();

0 commit comments

Comments
 (0)
Please sign in to comment.