diff --git a/playbook/app/pb_kits/playbook/pb_rich_text_editor/TipTap/MoreExtensionsDropdown.tsx b/playbook/app/pb_kits/playbook/pb_rich_text_editor/TipTap/MoreExtensionsDropdown.tsx index 07af2c4d0c..26e5b68d30 100644 --- a/playbook/app/pb_kits/playbook/pb_rich_text_editor/TipTap/MoreExtensionsDropdown.tsx +++ b/playbook/app/pb_kits/playbook/pb_rich_text_editor/TipTap/MoreExtensionsDropdown.tsx @@ -10,7 +10,7 @@ const MoreExtensionsDropdown = ({extensions}: any) => { const [showPopover, setShowPopover] = useState(false) const handleTogglePopover = () => { - setShowPopover(true) + setShowPopover(!showPopover) } const handlePopoverClose = (shouldClosePopover: boolean) => { diff --git a/playbook/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarDropdown.tsx b/playbook/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarDropdown.tsx index a355a98ffa..562c1c04e9 100644 --- a/playbook/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarDropdown.tsx +++ b/playbook/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarDropdown.tsx @@ -67,7 +67,7 @@ const toolbarDropdownItems = [ const handleTogglePopover = () => { - setShowPopover(true) + setShowPopover(!showPopover) } const handlePopoverClose = (shouldClosePopover: boolean) => {