feat(controller): add keepSemanticTags config to keep the semantic structure of the page

This commit is contained in:
Simon
2026-04-03 19:01:54 +08:00
parent 6630774dc9
commit 7e9027167d
4 changed files with 65 additions and 5 deletions

View File

@@ -19,7 +19,10 @@ export function initPageController() {
function getPC(): PageController {
if (!pageController) {
pageController = new PageController({ enableMask: false, viewportExpansion: 400 })
pageController = new PageController({
enableMask: false,
viewportExpansion: 400,
})
}
return pageController
}