YousefED / SyncedStore

SyncedStore CRDT is an easy-to-use library for building live, collaborative applications that sync automatically.

Home Page:https://syncedstore.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rich Text editor demo not working

cuire opened this issue · comments

commented

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 💖

commented

Thanks, this has now been fixed!