@riebeckite/plugin-text-fragment 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/client.js
CHANGED
|
@@ -50,7 +50,7 @@ function stripUrlFragment(url) {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
// src/text-fragment.client.ts
|
|
53
|
-
var ARTICLE_SELECTOR =
|
|
53
|
+
var ARTICLE_SELECTOR = '[data-slot="article-body"]';
|
|
54
54
|
var EXCLUDED_SELECTOR = "pre, code, a[href], [data-no-share]";
|
|
55
55
|
var POPOVER_GAP = 8;
|
|
56
56
|
var DEFAULT_TEXT_FRAGMENT_LABELS = {
|
package/dist/index.js
CHANGED
|
@@ -57,7 +57,7 @@ function stripUrlFragment(url) {
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
// src/text-fragment.client.ts
|
|
60
|
-
var ARTICLE_SELECTOR =
|
|
60
|
+
var ARTICLE_SELECTOR = '[data-slot="article-body"]';
|
|
61
61
|
var EXCLUDED_SELECTOR = "pre, code, a[href], [data-no-share]";
|
|
62
62
|
var POPOVER_GAP = 8;
|
|
63
63
|
var DEFAULT_TEXT_FRAGMENT_LABELS = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/plugin-text-fragment",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"./style.css": "./style.css"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@riebeckite/core": "0.0.
|
|
24
|
+
"@riebeckite/core": "0.0.17"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"tsx": "^4.22.4"
|