chore: update all npm dependencies (#4486)

Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
Co-authored-by: Anshuman Pandey <54475686+pandeymangg@users.noreply.github.com>
This commit is contained in:
Piyush Gupta
2024-12-18 15:32:43 +05:30
committed by GitHub
parent 8936ce928f
commit 36bf445370
33 changed files with 5133 additions and 5934 deletions
@@ -527,8 +527,11 @@ export const ToolbarPlugin = (props: TextEditorProps & { container: HTMLElement
className={isLink ? "bg-subtle active-button" : "inactive-button"}>
<Link />
</Button>
{isLink &&
createPortal(<FloatingLinkEditor editor={editor} />, props.container ?? document.body)}{" "}
{isLink ? (
createPortal(<FloatingLinkEditor editor={editor} />, props.container ?? document.body)
) : (
<></>
)}
</>
)}
</>