@cailabs/components.editor 0.0.0-stage → 0.0.91
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/README.md +17 -2
- package/index.js +2 -0
- package/package.json +23 -3
package/README.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @cailabs/components.editor
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Editor segment of the Cai component library. Re-exports `@cailabs/components.base/editor`
|
|
4
|
+
(rich-text editor; node-based editing).
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
pnpm add @cailabs/components.editor @tiptap/core @tiptap/starter-kit cl-editor
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
Peers: `@cailabs/components.base`, `svelte`, `@tiptap/core`, `cl-editor` (and related TipTap packages as needed).
|
|
11
|
+
|
|
12
|
+
```svelte
|
|
13
|
+
<script lang="ts">
|
|
14
|
+
import { BaseEditor } from '@cailabs/components.editor';
|
|
15
|
+
</script>
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Docs: `/docs/installation`.
|
package/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cailabs/components.editor",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
|
|
3
|
+
"version": "0.0.91",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/bitblueconsult/cai.components.git"
|
|
7
|
+
},
|
|
8
|
+
"type": "module",
|
|
9
|
+
"main": "./index.js",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": "./index.js"
|
|
12
|
+
},
|
|
13
|
+
"peerDependencies": {
|
|
14
|
+
"@cailabs/components.base": "^0.0.91",
|
|
15
|
+
"@tiptap/core": "^3.0.7",
|
|
16
|
+
"@xyflow/svelte": "^0.1.0",
|
|
17
|
+
"cl-editor": "^2.3.0",
|
|
18
|
+
"svelte": "^5.0.0"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@cailabs/components.base": "0.0.91"
|
|
22
|
+
},
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
}
|
|
6
26
|
}
|