Skip to content

Commit

Permalink
Fix floating link editor on inline image caption (#5460)
Browse files Browse the repository at this point in the history
  • Loading branch information
2wheeh authored Jan 7, 2024
1 parent 14554bf commit e2becdd
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import * as React from 'react';
import {Suspense, useCallback, useEffect, useRef, useState} from 'react';

import useModal from '../hooks/useModal';
import FloatingLinkEditorPlugin from '../plugins/FloatingLinkEditorPlugin/index';
import FloatingTextFormatToolbarPlugin from '../plugins/FloatingTextFormatToolbarPlugin/index';
import LinkPlugin from '../plugins/LinkPlugin';
import Button from '../ui/Button';
Expand Down Expand Up @@ -387,10 +386,6 @@ export default function InlineImageComponent({
<LexicalNestedComposer initialEditor={caption}>
<AutoFocusPlugin />
<LinkPlugin />
<FloatingLinkEditorPlugin
isLinkEditMode={false}
setIsLinkEditMode={() => {}}
/>
<FloatingTextFormatToolbarPlugin />
<RichTextPlugin
contentEditable={
Expand Down

2 comments on commit e2becdd

@vercel
Copy link

@vercel vercel bot commented on e2becdd Jan 7, 2024

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.dev
lexical-git-main-fbopensource.vercel.app
lexicaljs.org
www.lexical.dev
lexical-fbopensource.vercel.app
lexicaljs.com

@vercel
Copy link

@vercel vercel bot commented on e2becdd Jan 7, 2024

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
lexical-playground-git-main-fbopensource.vercel.app
lexical-playground-fbopensource.vercel.app
playground.lexical.dev

Please sign in to comment.