@kerebron/extension-basic-editor 0.0.1 → 0.0.3
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/esm/MarkLink.d.ts +1 -1
- package/esm/MarkLink.d.ts.map +1 -1
- package/esm/NodeImage.d.ts +2 -1
- package/esm/NodeImage.d.ts.map +1 -1
- package/package.json +10 -1
package/esm/MarkLink.d.ts
CHANGED
package/esm/MarkLink.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkLink.d.ts","sourceRoot":"","sources":["../src/MarkLink.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"MarkLink.d.ts","sourceRoot":"","sources":["../src/MarkLink.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,qBAAa,QAAS,SAAQ,IAAI;IACvB,IAAI,SAAU;IACvB,QAAQ,WAAW;IAEnB,SAAS;;;kCAGiB,MAAM;;;;oCAiBJ,MAAM;;MAMhC;IAEO,WAAW,IAAI,QAAQ;CAwBjC"}
|
package/esm/NodeImage.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type Node as PmNode, type NodeSpec } from 'prosemirror-model';
|
|
2
2
|
import { Node } from '@kerebron/editor';
|
|
3
|
+
import { next as automerge } from '@automerge/automerge/slim';
|
|
3
4
|
import { BlockMarker } from '@kerebron/extension-automerge';
|
|
4
5
|
export declare class NodeImage extends Node {
|
|
5
6
|
name: string;
|
|
@@ -14,7 +15,7 @@ export declare class NodeImage extends Node {
|
|
|
14
15
|
title: any;
|
|
15
16
|
};
|
|
16
17
|
fromProsemirror: (node: PmNode) => {
|
|
17
|
-
src:
|
|
18
|
+
src: automerge.RawString;
|
|
18
19
|
alt: any;
|
|
19
20
|
title: any;
|
|
20
21
|
};
|
package/esm/NodeImage.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodeImage.d.ts","sourceRoot":"","sources":["../src/NodeImage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,IAAI,MAAM,EAAE,KAAK,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"NodeImage.d.ts","sourceRoot":"","sources":["../src/NodeImage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,IAAI,MAAM,EAAE,KAAK,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,qBAAa,SAAU,SAAQ,IAAI;IACxB,IAAI,SAAW;IACxB,QAAQ,WAAW;IAEnB,SAAS;;;;mCAIkB,WAAW;;;;;oCAKV,MAAM;;;;;;MAMhC;IAEO,WAAW,IAAI,QAAQ;CA4BjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kerebron/extension-basic-editor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"module": "./esm/ExtensionBasicEditor.js",
|
|
6
6
|
"exports": {
|
|
@@ -71,6 +71,15 @@
|
|
|
71
71
|
"import": "./esm/MarkUnderline.js"
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
|
+
"dependencies": {
|
|
75
|
+
"@automerge/automerge": "2.2.4",
|
|
76
|
+
"prosemirror-dropcursor": "1.8.1",
|
|
77
|
+
"prosemirror-gapcursor": "1.3.2",
|
|
78
|
+
"prosemirror-history": "1.4.1",
|
|
79
|
+
"prosemirror-inputrules": "1.5.0",
|
|
80
|
+
"prosemirror-model": "1.24.1",
|
|
81
|
+
"prosemirror-state": "1.4.3"
|
|
82
|
+
},
|
|
74
83
|
"devDependencies": {
|
|
75
84
|
"@types/node": "^20.9.0"
|
|
76
85
|
},
|