diff --git a/src/components/editor/aside/pdf/PDFConfiguration.vue b/src/components/editor/aside/pdf/PDFConfiguration.vue
index c380b0660..56d1d5e51 100644
--- a/src/components/editor/aside/pdf/PDFConfiguration.vue
+++ b/src/components/editor/aside/pdf/PDFConfiguration.vue
@@ -1,5 +1,19 @@
+
+
+
Paragraph
@@ -13,11 +27,12 @@
justify-between
p-2
border
- rounded-xl
+ rounded-lg
border-gray-300
dark:border-gray-800
bg-gray-300
- dark:hover:bg-gray-800
+ dark:bg-gray-800
+ shadow-lg
w-32
"
>
@@ -32,13 +47,18 @@
-
+
diff --git a/src/components/material/TextSelect.vue b/src/components/material/TextSelect.vue
index 921d22479..0b49e883b 100644
--- a/src/components/material/TextSelect.vue
+++ b/src/components/material/TextSelect.vue
@@ -1,6 +1,6 @@
-
+
= () => {
newProject: ['CTRL + Shift + Q', 'ctrl > shift > q'],
newChapter: ['CTRL + Q', 'ctrl > q'],
deleteChapter: ['CTRL + D', 'ctrl > d'],
+ configurationPDF: ['CTRL + Shift + G', 'ctrl > shift > g'],
generatePDF: ['CTRL + G', 'ctrl > g'],
switcherRawText: ['CTRL + H', 'ctrl > h'],
logger: ['CTRL + L', 'ctrl > l'],
diff --git a/src/use/keyboard.ts b/src/use/keyboard.ts
index 948596f08..e6992ed9f 100644
--- a/src/use/keyboard.ts
+++ b/src/use/keyboard.ts
@@ -18,6 +18,7 @@ export const useKeyboard: Callback = () => {
generatePDF()
switcherRawText()
logger()
+ configurationPDF()
}
const destroy = () => {
@@ -95,5 +96,16 @@ export const useKeyboard: Callback = () => {
})
}
+ const configurationPDF = () => {
+ keyboard.bind(store.state.shortcuts.configurationPDF[1], (e: Event) => {
+ useUtils().prevent(e)
+
+ store.commit(
+ 'absolute/switchPdfConfiguration',
+ !store.state.absolute.pdf.configuration
+ )
+ })
+ }
+
return { init, destroy }
}