@bendyline/squisq-editor-react 2.3.0 → 2.3.1
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 +6 -7
- package/package.json +2 -6
package/README.md
CHANGED
|
@@ -10,15 +10,14 @@ Part of the [Squisq](https://github.com/bendyline/squisq) monorepo.
|
|
|
10
10
|
## Install
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
npm install @bendyline/squisq-editor-react @bendyline/squisq @bendyline/squisq-react
|
|
14
|
-
# optional: add monaco-editor only if you use the Raw (Monaco) view
|
|
15
|
-
npm install monaco-editor
|
|
13
|
+
npm install @bendyline/squisq-editor-react @bendyline/squisq @bendyline/squisq-react monaco-editor
|
|
16
14
|
```
|
|
17
15
|
|
|
18
|
-
**Peer dependencies:** `react` and `react-dom` (v18 or v19)
|
|
19
|
-
(>=0.50.0) is
|
|
20
|
-
|
|
21
|
-
a regular dependency — you don't
|
|
16
|
+
**Peer dependencies:** `react` and `react-dom` (v18 or v19), plus
|
|
17
|
+
`monaco-editor` (>=0.50.0). Monaco is loaded lazily at runtime, but it is a
|
|
18
|
+
required peer because the package's public TypeScript declarations expose
|
|
19
|
+
Monaco editor types. Tiptap is bundled as a regular dependency — you don't
|
|
20
|
+
need to install it yourself.
|
|
22
21
|
|
|
23
22
|
## Quick Start
|
|
24
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bendyline/squisq-editor-react",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "React editor shell with raw/WYSIWYG/preview modes for Squisq documents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bendyline",
|
|
@@ -75,11 +75,6 @@
|
|
|
75
75
|
"react": "^18.0.0 || ^19.0.0",
|
|
76
76
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
77
77
|
},
|
|
78
|
-
"peerDependenciesMeta": {
|
|
79
|
-
"monaco-editor": {
|
|
80
|
-
"optional": true
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
78
|
"dependencies": {
|
|
84
79
|
"@bendyline/squisq": "2.3.0",
|
|
85
80
|
"@bendyline/squisq-formats": "2.3.0",
|
|
@@ -106,6 +101,7 @@
|
|
|
106
101
|
"@monaco-editor/react": "4.7.0",
|
|
107
102
|
"@types/react": "18.3.28",
|
|
108
103
|
"@types/react-dom": "18.3.7",
|
|
104
|
+
"monaco-editor": "0.50.0",
|
|
109
105
|
"react": "18.3.1",
|
|
110
106
|
"react-dom": "18.3.1",
|
|
111
107
|
"tsup": "8.5.1",
|