YousefED / SyncedStore

SyncedStore CRDT is an easy-to-use library for building live, collaborative applications that sync automatically.
https://syncedstore.org
MIT License
1.73k stars 52 forks source link

Rich Text editor demo not working #99

Closed cuire closed 1 year ago

cuire commented 1 year ago

https://syncedstore.org/docs/advanced/richtext

Error ``` /App.tsx: Could not find dependency: '@tiptap/pm' relative to '/node_modules/@tiptap/core/dist/index.cjs' (4:0) 1 | import React, { useState, useCallback, useEffect } from "react"; 2 | import { store, webrtcProvider } from "./store"; 3 | > 4 | import { useEditor, EditorContent } from "@tiptap/react"; ^ 5 | import StarterKit from "@tiptap/starter-kit"; 6 | import Placeholder from "@tiptap/extension-placeholder"; 7 | import Collaboration from "@tiptap/extension-collaboration"; ```

PS: I would like to take this opportunity to say that lib is amazing 💖

YousefED commented 1 year ago

Thanks, this has now been fixed!