- Download the repo locally
git clone [email protected]:francistogram/liveblocks-bug.git
- Create a
.env
and setNEXT_PUBLIC_LIVEBLOCKS_PUBLIC_API_KEY
with an API key from Liveblocks - Install dependencies
yarn
- Run the app
yarn dev
Export-1726608232170.2.mp4
In the current state of the app if you go into the editor and type some words and then add 5 new lines between the words it'll split the editor at that point into two editors
First uncomment these lines of code in Editor.tsx You'll see the ability to add comments which means Liveblocks has been imported into the editor If you try spitting the editor again you'll get an error