@prosekit/basic 0.3.28 → 0.3.29
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/_tsup-dts-rollup.d.ts +4 -0
- package/dist/prosekit-basic.js +8 -0
- package/dist/style.css +1 -1
- package/dist/typography.css +7 -0
- package/package.json +4 -4
@@ -6,8 +6,10 @@ import { CodeExtension } from '@prosekit/extensions/code';
|
|
6
6
|
import { config as default_alias_2 } from '@prosekit/dev/config-vitest';
|
7
7
|
import { DocExtension } from '@prosekit/core';
|
8
8
|
import { DropCursorExtension } from '@prosekit/extensions/drop-cursor';
|
9
|
+
import { GapCursorExtension } from '@prosekit/extensions/gap-cursor';
|
9
10
|
import { HeadingExtension } from '@prosekit/extensions/heading';
|
10
11
|
import { HistoryExtension } from '@prosekit/core';
|
12
|
+
import { HorizontalRuleExtension } from '@prosekit/extensions/horizontal-rule';
|
11
13
|
import { ImageExtension } from '@prosekit/extensions/image';
|
12
14
|
import { ItalicExtension } from '@prosekit/extensions/italic';
|
13
15
|
import { LinkExtension } from '@prosekit/extensions/link';
|
@@ -43,6 +45,8 @@ LinkExtension,
|
|
43
45
|
ImageExtension,
|
44
46
|
ParagraphExtension,
|
45
47
|
DropCursorExtension,
|
48
|
+
GapCursorExtension,
|
49
|
+
HorizontalRuleExtension,
|
46
50
|
VirtualSelectionExtension,
|
47
51
|
ModClickPreventionExtension,
|
48
52
|
TableExtension
|
package/dist/prosekit-basic.js
CHANGED
@@ -16,9 +16,15 @@ import { defineCode } from "@prosekit/extensions/code";
|
|
16
16
|
import {
|
17
17
|
defineDropCursor
|
18
18
|
} from "@prosekit/extensions/drop-cursor";
|
19
|
+
import {
|
20
|
+
defineGapCursor
|
21
|
+
} from "@prosekit/extensions/gap-cursor";
|
19
22
|
import {
|
20
23
|
defineHeading
|
21
24
|
} from "@prosekit/extensions/heading";
|
25
|
+
import {
|
26
|
+
defineHorizontalRule
|
27
|
+
} from "@prosekit/extensions/horizontal-rule";
|
22
28
|
import { defineImage } from "@prosekit/extensions/image";
|
23
29
|
import { defineItalic } from "@prosekit/extensions/italic";
|
24
30
|
import { defineLink } from "@prosekit/extensions/link";
|
@@ -53,6 +59,8 @@ function defineBasicExtension() {
|
|
53
59
|
defineImage(),
|
54
60
|
defineParagraph(),
|
55
61
|
defineDropCursor(),
|
62
|
+
defineGapCursor(),
|
63
|
+
defineHorizontalRule(),
|
56
64
|
defineVirtualSelection(),
|
57
65
|
defineModClickPrevention(),
|
58
66
|
defineTable()
|
package/dist/style.css
CHANGED
package/dist/typography.css
CHANGED
@@ -102,6 +102,13 @@ div.ProseMirror pre code {
|
|
102
102
|
div.ProseMirror hr {
|
103
103
|
margin: 2em 0;
|
104
104
|
}
|
105
|
+
div.ProseMirror .prosekit-horizontal-rule {
|
106
|
+
padding: 1em 0;
|
107
|
+
margin: 1em 0;
|
108
|
+
}
|
109
|
+
:is(div.ProseMirror .prosekit-horizontal-rule) hr {
|
110
|
+
margin: 0;
|
111
|
+
}
|
105
112
|
div.ProseMirror .prosemirror-flat-list {
|
106
113
|
line-height: 1.5;
|
107
114
|
}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prosekit/basic",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.3.
|
4
|
+
"version": "0.3.29",
|
5
5
|
"private": false,
|
6
6
|
"author": {
|
7
7
|
"name": "ocavue",
|
@@ -41,12 +41,12 @@
|
|
41
41
|
"dist"
|
42
42
|
],
|
43
43
|
"dependencies": {
|
44
|
-
"@prosekit/extensions": "^0.7.16",
|
45
44
|
"@prosekit/core": "^0.7.11",
|
46
|
-
"@prosekit/pm": "^0.1.8"
|
45
|
+
"@prosekit/pm": "^0.1.8",
|
46
|
+
"@prosekit/extensions": "^0.7.17"
|
47
47
|
},
|
48
48
|
"devDependencies": {
|
49
|
-
"postcss": "^8.4.
|
49
|
+
"postcss": "^8.4.45",
|
50
50
|
"postcss-nesting": "^13.0.0",
|
51
51
|
"tsup": "^8.2.4",
|
52
52
|
"typescript": "^5.5.4",
|