aboutsummaryrefslogtreecommitdiffhomepage
path: root/addon/index.mjs
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-10-18 12:23:24 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-10-18 12:23:24 +0800
commita7ca15e5cc852546369d1706f624a775163aa05a (patch)
tree70d26ec409ef246d17306c6538c09cbf7af62933 /addon/index.mjs
parent684203b326392688821d514f69f8d6b954a58b1b (diff)
feat: test on prosemirror.net
Diffstat (limited to 'addon/index.mjs')
-rw-r--r--addon/index.mjs1
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}
19const blockSelector = blockSelectors[url.host] 20const blockSelector = blockSelectors[url.host]
20 21