
Security News
NIST Officially Stops Enriching Most CVEs as Vulnerability Volume Skyrockets
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.
lobby-editor
Advanced tools

A familiar, plug and play, extendable rich text editor for React, based on ProseMirror, built using TipTap
Have a fully functioning editor for your project in no time. First, install using
npm install "@tiptap/core@2.0.0-beta.174" "@tiptap/react@2.0.0-beta.114" remixicon lobby-editor
or if you are using yarn
yarn add "@tiptap/core@2.0.0-beta.174" "@tiptap/react@2.0.0-beta.114" remixicon lobby-editor
Lobby editor requires peer dependencies
"@tiptap/core": "2.0.0-beta.174",
"@tiptap/react": "2.0.0-beta.114",
To use the BubbleMenu that comes with our editor Tailwind must be installed.
Use as desired in your project like below
import { useLobbyEditor, LobbyEditor } from "lobby-editor"
const App = () => {
const editor = useLobbyEditor();
return (
<div className="App">
<LobbyEditor editor={editor} editable={true} />
</div>
)
}
export default App
Congrats! You should now have the lobby editor running!
In your App.js import styling or if you are using Next.js import in your _app.js
Install RemixIcon
import "lobby-editor/dist/es/styles.css";
import "remixicon/fonts/remixicon.css";
Let's now have a look at adding some custom extensions.
Define your custom extension.
// 1. Import the extension
import BulletList from '@tiptap/extension-bullet-list'
// 2. Overwrite the keyboard shortcuts
const CustomBulletList = BulletList.extend({
addKeyboardShortcuts() {
return {
'Mod-l': () => this.editor.commands.toggleBulletList(),
}
},
})
Next pass it to createLobbyEditor like this
let editor = useLobbyEditor({
customExtensions: [
CustomBulletList(),
...
]
})
Have a look at the getting started to see more example.
- setContent needs to be inside a useEffect because every time the editor is typed in/updated it rerenders the entire component and setContent will be called indefinitely
See More in Lobby.
Contributions and recommendations are always welcome! Open an issue or discussion in GitHub and outline your ideas. Our team will promptly provide feedback.
An eslint config ensures a consistent code style. To check for errors, run
yarn lint
or
npm run lint
Make sure it’s passing before sending a pull request.
Further Questions?
Message us in Discord or Create a discussion on GitHub
For help, discussion about best practices, or any other conversation that would benefit from being searchable: Discuss Lobby on GitHub
Meet the team and introduce yourself to other devs in the community: Discuss Lobby on Discord
FAQs
Lobby's open source editor.
The npm package lobby-editor receives a total of 13 weekly downloads. As such, lobby-editor popularity was classified as not popular.
We found that lobby-editor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.