prosekit 0.1.1 → 0.1.2
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/basic/internal/preflight.css +12 -1
- package/package.json +3 -3
- package/src/index.ts +1 -0
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
width: 100%;
|
|
12
12
|
box-sizing: border-box;
|
|
13
|
-
padding: 8px;
|
|
14
13
|
font-family:
|
|
15
14
|
ui-sans-serif,
|
|
16
15
|
sans-serif,
|
|
@@ -23,9 +22,21 @@
|
|
|
23
22
|
*:has(> div.ProseMirror) * {
|
|
24
23
|
box-sizing: border-box;
|
|
25
24
|
}
|
|
25
|
+
.ProseMirror h1:first-of-type,
|
|
26
|
+
.ProseMirror h2:first-of-type,
|
|
27
|
+
.ProseMirror h3:first-of-type,
|
|
28
|
+
.ProseMirror h4:first-of-type,
|
|
29
|
+
.ProseMirror h5:first-of-type,
|
|
30
|
+
.ProseMirror h6:first-of-type,
|
|
26
31
|
.ProseMirror p:first-of-type {
|
|
27
32
|
margin-top: 0;
|
|
28
33
|
}
|
|
34
|
+
.ProseMirror h1:last-of-type,
|
|
35
|
+
.ProseMirror h2:last-of-type,
|
|
36
|
+
.ProseMirror h3:last-of-type,
|
|
37
|
+
.ProseMirror h4:last-of-type,
|
|
38
|
+
.ProseMirror h5:last-of-type,
|
|
39
|
+
.ProseMirror h6:last-of-type,
|
|
29
40
|
.ProseMirror p:last-of-type {
|
|
30
41
|
margin-bottom: 0;
|
|
31
42
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prosekit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "ocavue",
|
|
@@ -525,7 +525,7 @@
|
|
|
525
525
|
"@prosekit/pm": "0.1.0",
|
|
526
526
|
"@prosekit/preact": "0.1.0",
|
|
527
527
|
"@prosekit/react": "0.1.0",
|
|
528
|
-
"@prosekit/solid": "0.1.
|
|
528
|
+
"@prosekit/solid": "0.1.1",
|
|
529
529
|
"@prosekit/svelte": "0.1.0",
|
|
530
530
|
"@prosekit/vue": "0.1.0"
|
|
531
531
|
},
|
|
@@ -561,7 +561,7 @@
|
|
|
561
561
|
"@prosekit/dev": "*",
|
|
562
562
|
"@types/react": "^18.2.37",
|
|
563
563
|
"@types/react-dom": "^18.2.15",
|
|
564
|
-
"preact": "^10.
|
|
564
|
+
"preact": "^10.19.2",
|
|
565
565
|
"react": "^18.2.0",
|
|
566
566
|
"react-dom": "^18.2.0",
|
|
567
567
|
"solid-js": "^1.8.5",
|
package/src/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|