17 lines
435 B
JavaScript
17 lines
435 B
JavaScript
//提供四个对象,可以来写dom逻辑
|
|
//html,documentument,cfg,pages
|
|
|
|
/**
|
|
* 从提供的 `documentument` 中移除所有 style 中含有 `page-break-after: always` 的声明。
|
|
* - 处理 inline `style` 属性
|
|
* - 处理 `<style>` 元素中的 CSS 文本
|
|
*
|
|
* 用法:
|
|
* import { removePageBreakAfterAlways } from './build.js';
|
|
* removePageBreakAfterAlways(documentument);
|
|
*/
|
|
|
|
cfg.indexSearch = {
|
|
mode: "sequential",
|
|
};
|