Skip to content

Commit

Permalink
Auto embed fix #4530 (#4535)
Browse files Browse the repository at this point in the history
  • Loading branch information
fantactuka committed May 23, 2023
1 parent 0b4b281 commit 5b23167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lexical-react/src/LexicalAutoEmbedPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export function LexicalAutoEmbedPlugin<TEmbedConfig extends EmbedConfig>({
if (
mutation === 'created' &&
updateTags.has('paste') &&
dirtyLeaves.size === 1
dirtyLeaves.size <= 3
) {
checkIfLinkNodeIsEmbeddable(key);
} else if (key === nodeKey) {
Expand Down

2 comments on commit 5b23167

@vercel
Copy link

@vercel vercel bot commented on 5b23167 May 23, 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

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

@vercel
Copy link

@vercel vercel bot commented on 5b23167 May 23, 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-git-main-fbopensource.vercel.app
playground.lexical.dev
lexical-playground.vercel.app
lexical-playground-fbopensource.vercel.app

Please sign in to comment.