@layers-app/editor 0.5.5-optimization → 0.5.7-optimization
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 +19 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/{layers.CzNz0Zya.js → layers.BC4vtoR_.js} +1 -1
- package/dist/{layers.CEMW9z_P.js → layers.B_yux7vw.js} +1 -1
- package/dist/{layers.ahDFHQXD.js → layers.BcAsUBEd.js} +3 -3
- package/dist/{layers.hgliNTDV.js → layers.BtlL1tAr.js} +1 -1
- package/dist/{layers.D0Z-zLAV.js → layers.DDFAbldJ.js} +3 -3
- package/dist/{layers.Cwao1pOZ.js → layers.DRco4RUq.js} +2 -2
- package/dist/{layers.C2lacXcg.js → layers.DmkizKAP.js} +6 -6
- package/dist/{layers.EKDSoJm1.js → layers.DydTPA8C.js} +8 -8
- package/dist/{layers.B10sB-Vy.js → layers.JnfXnfvp.js} +1 -1
- package/dist/{layers.eLiGm-eZ.js → layers.NH0RP3cX.js} +2 -2
- package/dist/{layers.BDsvvINb.js → layers.ZHcm9ChQ.js} +6 -6
- package/dist/{layers.BwyONivc.js → layers.bsL5r2kj.js} +5 -5
- package/dist/{layers.C69TrYD7.js → layers.hBfNB8NK.js} +1 -1
- package/dist/{layers.BFJ7oQiY.js → layers.vxLVQC3Y.js} +5 -5
- package/package.json +20 -21
package/README.md
CHANGED
|
@@ -715,3 +715,22 @@ editorRef?: { current: EditorType | null } - Reference to the editor.
|
|
|
715
715
|
```
|
|
716
716
|
|
|
717
717
|
</details>
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
---
|
|
723
|
+
|
|
724
|
+
## 🚀 Integration Guide for other Projects
|
|
725
|
+
|
|
726
|
+
### Step 1: Install Required Dependencies
|
|
727
|
+
|
|
728
|
+
```bash
|
|
729
|
+
npm install lexical @lexical/react @lexical/file @lexical/headless @lexical/markdown @layers-app/shared @tanstack/react-query react-selecto @mantine/core @mantine/hooks @mantine/form @mantine/dropzone @mantine/modals @mantine/notifications @tabler/icons-react i18next react-i18next lodash-es
|
|
730
|
+
```
|
|
731
|
+
|
|
732
|
+
### Step 2: Add Collaboration if needed
|
|
733
|
+
|
|
734
|
+
```tsx
|
|
735
|
+
npm install yjs y-websocket
|
|
736
|
+
```
|