diff --git a/src/pages/index.tsx b/src/pages/index.tsx index b00cfd7..2f06880 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -63,11 +63,11 @@ export default function Home() { if (event.metaKey && event.shiftKey && event.key === "f") { toggleFocusMode(); } - if (event.metaKey && event.shiftKey && event.key === "b") { + if (event.metaKey && event.key === "b") { event.preventDefault(); makeTextBold(); } - if (event.metaKey && event.shiftKey && event.key === "i") { + if (event.metaKey && event.key === "i") { event.preventDefault(); makeTextItalic(); } @@ -313,7 +313,9 @@ export default function Home() { > -