Make your Lexical editor collaborative in minutes

Liveblocks enables you to add realtime syncing and multiplayer features to your Lexical editor with our realtime data store designed for collaborative text editors.

Companies of all sizes and industries use Liveblocks

Multiplayer Editing -
Add realtime collaboration to your product experience

Let users co-edit text and manipulate data simultaneously, in realtime—just like Figma or Notion.

import { liveblocksConfig, LiveblocksPlugin, FloatingToolbar, FloatingThreads, FloatingComposer } from "@liveblocks/react-lexical";import { LexicalErrorBoundary } from "@lexical/react/LexicalErrorBoundary";import { ContentEditable } from "@lexical/react/LexicalContentEditable";import { RichTextPlugin } from "@lexical/react/LexicalRichTextPlugin";import { LexicalComposer } from "@lexical/react/LexicalComposer";import { useThreads } from "@liveblocks/react";
export function Editor() { const { threads } = useThreads();
const initialConfig = liveblocksConfig({ namespace: "Demo", });
return ( <LexicalComposer initialConfig={initialConfig}> <RichTextPlugin contentEditable={<ContentEditable />} /> <LiveblocksPlugin> <FloatingToolbar /> <FloatingThreads threads={threads} /> <FloatingComposer threads={threads} /> </LiveblocksPlugin> </LexicalComposer> );}

Turn your product into the space where people and AI collaborate

We use cookies to collect data to improve your experience on our site. Read our Privacy Policy to learn more.