Skip to content

Commit

Permalink
docs: fix typo in decorators.md (#5113)
Browse files Browse the repository at this point in the history
  • Loading branch information
CanRau authored Oct 12, 2023
1 parent bde5c5d commit 4b4db17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/decorators.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function VideoPlugin(): ReactNode {
// Similar with command listener, which returns unlisten callback
const removeListener = editor.registerCommand(
INSERT_VIDEO_COMMAND,
(payload) => {
(url) => {
// Adding custom command that will be handled by this plugin
editor.update(() => {
$insertNodes([$createVideoNode(url)]);
Expand Down

2 comments on commit 4b4db17

@vercel
Copy link

@vercel vercel bot commented on 4b4db17 Oct 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

lexical – ./packages/lexical-website

www.lexical.dev
lexical.dev
lexical-fbopensource.vercel.app
lexicaljs.org
lexical-git-main-fbopensource.vercel.app
lexicaljs.com

@vercel
Copy link

@vercel vercel bot commented on 4b4db17 Oct 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

lexical-playground – ./packages/lexical-playground

lexical-playground.vercel.app
playground.lexical.dev
lexical-playground-fbopensource.vercel.app
lexical-playground-git-main-fbopensource.vercel.app

Please sign in to comment.