We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31e2f45 commit 3c242a9Copy full SHA for 3c242a9
packages/core/src/editor.module.css
@@ -36,7 +36,7 @@ Tippy popups that are appended to document.body directly
36
.defaultStyles h2,
37
.defaultStyles h3,
38
.defaultStyles li {
39
- all: unset;
+ all: unset !important;
40
margin: 0;
41
padding: 0;
42
font-size: inherit;
packages/react/src/utils.ts
@@ -1,7 +1,8 @@
1
export const isAppleOS = () =>
2
- /Mac/.test(navigator.platform) ||
3
- (/AppleWebKit/.test(navigator.userAgent) &&
4
- /Mobile\/\w+/.test(navigator.userAgent));
+ typeof navigator !== "undefined" &&
+ (/Mac/.test(navigator.platform) ||
+ (/AppleWebKit/.test(navigator.userAgent) &&
5
+ /Mobile\/\w+/.test(navigator.userAgent)));
6
7
export function formatKeyboardShortcut(shortcut: string) {
8
if (isAppleOS()) {
0 commit comments