diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-10-18 12:23:24 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-10-18 12:23:24 +0800 |
commit | a7ca15e5cc852546369d1706f624a775163aa05a (patch) | |
tree | 70d26ec409ef246d17306c6538c09cbf7af62933 /addon/index.mjs | |
parent | 684203b326392688821d514f69f8d6b954a58b1b (diff) |
feat: test on prosemirror.net
Diffstat (limited to 'addon/index.mjs')
-rw-r--r-- | addon/index.mjs | 1 |
1 files changed, 1 insertions, 0 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 | ||