diff options
-rw-r--r-- | addon/index.mjs | 1 | ||||
-rw-r--r-- | addon/manifest.json | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/addon/index.mjs b/addon/index.mjs index d138775..5776a18 100644 --- a/addon/index.mjs +++ b/addon/index.mjs | |||
@@ -15,6 +15,7 @@ const blockSelectors = { | |||
15 | 'developer.mozilla': '.section-content', | 15 | 'developer.mozilla': '.section-content', |
16 | 'hackmd.io': '#doc > *', | 16 | 'hackmd.io': '#doc > *', |
17 | 'www.ptt.cc': '#main-content > span', | 17 | 'www.ptt.cc': '#main-content > span', |
18 | 'prosemirror.net': '.ProseMirror > *', | ||
18 | } | 19 | } |
19 | const blockSelector = blockSelectors[url.host] | 20 | const blockSelector = blockSelectors[url.host] |
20 | 21 | ||
diff --git a/addon/manifest.json b/addon/manifest.json index 93b0b65..b95fd4b 100644 --- a/addon/manifest.json +++ b/addon/manifest.json | |||
@@ -14,7 +14,8 @@ | |||
14 | "matches": [ | 14 | "matches": [ |
15 | "*://developer.mozilla.org/*", | 15 | "*://developer.mozilla.org/*", |
16 | "*://hackmd.io/*", | 16 | "*://hackmd.io/*", |
17 | "*://*.ptt.cc/*" | 17 | "*://*.ptt.cc/*", |
18 | "https://prosemirror.net/examples/*" | ||
18 | ], | 19 | ], |
19 | "js": [ | 20 | "js": [ |
20 | "dumbymap.mjs", | 21 | "dumbymap.mjs", |