Skip to content

Commit

Permalink
fix(plugin-revealjs): fix embed mode and keyboard events
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Sep 22, 2024
1 parent 688b739 commit 5d98506
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ export default defineComponent({
hash: isSlidePage,
mouseWheel: isSlidePage,
...frontmatter.value.revealJs,
embedded: isSlidePage,
keyboardCondition: isSlidePage ? 'focused' : null,
embedded: !isSlidePage,
keyboardCondition: isSlidePage ? null : 'focused',
markdown: {
separator: '^\r?\\n---\r?\n$',
verticalSeparator: '^\r?\n--\r?\n$',
Expand Down

0 comments on commit 5d98506

Please sign in to comment.