This commit is contained in:
Julie 2026-02-23 11:56:06 +01:00
parent f01a1ed6f8
commit 67470680cf
5 changed files with 1 additions and 22 deletions

View file

@ -8,7 +8,6 @@ export default class myCustomHandler2 extends Handler {
afterPageLayout(pageElement, page, breakToken) {
console.log(pageElement);
let pageArea = pageElement.querySelector(".pagedjs_area");
let pageAreaTop = pageArea.getBoundingClientRect().top;
let items = pageElement.querySelectorAll("p, h3, h4, .inline-note");