Skip to content

Commit d48e6a9

Browse files
committed
feat: remove invalid pdf page num option
1 parent 1c228f6 commit d48e6a9

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

src/editor/pdf.scss

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,6 @@
1818
--background-primary: transparent;
1919
}
2020

21-
@page {
22-
body.pdf-export-page-num {
23-
@bottom-center {
24-
content: counter(page);
25-
font-size: 10pt !important;
26-
margin-top: 10pt !important;
27-
}
28-
}
29-
}
30-
3121
body.pdf-export-page-break {
3222
:is(h1, h2, h3, h4, h5, h6) {
3323
page-break-after: avoid;

src/style-settings/editor.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -931,12 +931,6 @@ export default Settings.create('maple-editor', 'Maple Editor').children([
931931
zh: '导出时将页面背景颜色设置为透明',
932932
},
933933
})
934-
.addClassToggle('pdf-export-page-num', {
935-
title: {
936-
en: 'Add Page Numbers in The Footer',
937-
zh: '导出时页脚添加页号',
938-
},
939-
})
940934
.addClassToggle('pdf-export-page-break', {
941935
title: {
942936
en: 'Better Page Break Strategy',

0 commit comments

Comments
 (0)