@prosekit/basic 0.6.0 → 0.6.1
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/typography.css +16 -0
- package/package.json +6 -6
package/dist/typography.css
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--prosekit-node-selection-color: rgba(57, 136, 255, 0.2);
|
|
3
|
+
}
|
|
4
|
+
|
|
1
5
|
.ProseMirror {
|
|
2
6
|
& {
|
|
3
7
|
/* Disable margin collapsing */
|
|
@@ -204,5 +208,17 @@
|
|
|
204
208
|
div[data-node-view-root="true"] {
|
|
205
209
|
display: contents;
|
|
206
210
|
}
|
|
211
|
+
|
|
212
|
+
& .ProseMirror-selectednode {
|
|
213
|
+
border-radius: 0.2rem;
|
|
214
|
+
outline-color: var(--prosekit-node-selection-color);
|
|
215
|
+
outline-style: solid;
|
|
216
|
+
outline-width: 0.3rem;
|
|
217
|
+
background-color: var(--prosekit-node-selection-color);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
&.prosekit-dragging {
|
|
221
|
+
--prosekit-node-selection-color: transparent;
|
|
222
|
+
}
|
|
207
223
|
}
|
|
208
224
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosekit/basic",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "A quick starter for ProseKit",
|
|
7
7
|
"author": {
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"funding": "https://github.com/sponsors/ocavue",
|
|
13
|
-
"homepage": "https://github.com/
|
|
13
|
+
"homepage": "https://github.com/prosekit/prosekit#readme",
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "git+https://github.com/
|
|
16
|
+
"url": "git+https://github.com/prosekit/prosekit.git",
|
|
17
17
|
"directory": "packages/basic"
|
|
18
18
|
},
|
|
19
19
|
"bugs": {
|
|
20
|
-
"url": "https://github.com/
|
|
20
|
+
"url": "https://github.com/prosekit/prosekit/issues"
|
|
21
21
|
},
|
|
22
22
|
"keywords": [
|
|
23
23
|
"ProseMirror"
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@prosekit/core": "^0.8.3",
|
|
45
|
-
"@prosekit/
|
|
46
|
-
"@prosekit/
|
|
45
|
+
"@prosekit/pm": "^0.1.11",
|
|
46
|
+
"@prosekit/extensions": "^0.11.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/jsdom": "^21.1.7",
|