prosekit 0.4.3 → 0.4.4
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.
|
@@ -270,6 +270,8 @@ import { EditorProps } from '@prosekit/pm/view';
|
|
|
270
270
|
import { EditorState } from '@prosekit/pm/state';
|
|
271
271
|
import { EditorStateConfig } from '@prosekit/pm/state';
|
|
272
272
|
import { EditorView } from '@prosekit/pm/view';
|
|
273
|
+
import { elementFromJSON } from '@prosekit/core';
|
|
274
|
+
import { elementFromNode } from '@prosekit/core';
|
|
273
275
|
import { ellipsis } from '@prosekit/pm/inputrules';
|
|
274
276
|
import { emDash } from '@prosekit/pm/inputrules';
|
|
275
277
|
import { exitCode } from '@prosekit/pm/commands';
|
|
@@ -291,6 +293,8 @@ import { getNodeType } from '@prosekit/core';
|
|
|
291
293
|
import { HeadingAttrs } from '@prosekit/extensions/heading';
|
|
292
294
|
import { HighlightParser } from '@prosekit/extensions/code-block';
|
|
293
295
|
import { history as history_2 } from '@prosekit/pm/history';
|
|
296
|
+
import { htmlFromJSON } from '@prosekit/core';
|
|
297
|
+
import { htmlFromNode } from '@prosekit/core';
|
|
294
298
|
import { ImageAttrs } from '@prosekit/extensions/image';
|
|
295
299
|
import { InlinePopover } from '@prosekit/lit/inline-popover';
|
|
296
300
|
import { InlinePopover as InlinePopover_alias_1 } from '@prosekit/preact/inline-popover';
|
|
@@ -321,7 +325,6 @@ import { joinPoint } from '@prosekit/pm/transform';
|
|
|
321
325
|
import { joinTextblockBackward } from '@prosekit/pm/commands';
|
|
322
326
|
import { joinTextblockForward } from '@prosekit/pm/commands';
|
|
323
327
|
import { joinUp } from '@prosekit/pm/commands';
|
|
324
|
-
import { jsonFromElement } from '@prosekit/core';
|
|
325
328
|
import { jsonFromHTML } from '@prosekit/core';
|
|
326
329
|
import { jsonFromNode } from '@prosekit/core';
|
|
327
330
|
import { jsonFromState } from '@prosekit/core';
|
|
@@ -1108,6 +1111,10 @@ export { EditorStateConfig }
|
|
|
1108
1111
|
|
|
1109
1112
|
export { EditorView }
|
|
1110
1113
|
|
|
1114
|
+
export { elementFromJSON }
|
|
1115
|
+
|
|
1116
|
+
export { elementFromNode }
|
|
1117
|
+
|
|
1111
1118
|
export { ellipsis }
|
|
1112
1119
|
|
|
1113
1120
|
export { emDash }
|
|
@@ -1150,6 +1157,10 @@ export { HighlightParser }
|
|
|
1150
1157
|
|
|
1151
1158
|
export { history_2 as history }
|
|
1152
1159
|
|
|
1160
|
+
export { htmlFromJSON }
|
|
1161
|
+
|
|
1162
|
+
export { htmlFromNode }
|
|
1163
|
+
|
|
1153
1164
|
export { ImageAttrs }
|
|
1154
1165
|
|
|
1155
1166
|
export { InlinePopover }
|
|
@@ -1210,8 +1221,6 @@ export { joinTextblockForward }
|
|
|
1210
1221
|
|
|
1211
1222
|
export { joinUp }
|
|
1212
1223
|
|
|
1213
|
-
export { jsonFromElement }
|
|
1214
|
-
|
|
1215
1224
|
export { jsonFromHTML }
|
|
1216
1225
|
|
|
1217
1226
|
export { jsonFromNode }
|
package/dist/prosekit-core.d.ts
CHANGED
|
@@ -99,7 +99,10 @@ export { _getId } from './_tsup-dts-rollup';
|
|
|
99
99
|
export { getMarkType } from './_tsup-dts-rollup';
|
|
100
100
|
export { getNodeType } from './_tsup-dts-rollup';
|
|
101
101
|
export { isInCodeBlock } from './_tsup-dts-rollup';
|
|
102
|
-
export {
|
|
102
|
+
export { elementFromJSON } from './_tsup-dts-rollup';
|
|
103
|
+
export { elementFromNode } from './_tsup-dts-rollup';
|
|
104
|
+
export { htmlFromJSON } from './_tsup-dts-rollup';
|
|
105
|
+
export { htmlFromNode } from './_tsup-dts-rollup';
|
|
103
106
|
export { jsonFromHTML } from './_tsup-dts-rollup';
|
|
104
107
|
export { jsonFromNode } from './_tsup-dts-rollup';
|
|
105
108
|
export { jsonFromState } from './_tsup-dts-rollup';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prosekit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.4",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "ocavue",
|
|
@@ -654,7 +654,7 @@
|
|
|
654
654
|
],
|
|
655
655
|
"dependencies": {
|
|
656
656
|
"@prosekit/basic": "0.3.1",
|
|
657
|
-
"@prosekit/core": "0.3.
|
|
657
|
+
"@prosekit/core": "0.3.2",
|
|
658
658
|
"@prosekit/extensions": "0.3.1",
|
|
659
659
|
"@prosekit/lit": "0.2.5",
|
|
660
660
|
"@prosekit/pm": "0.1.1",
|