fix: super improvements (#1995)

* feat(super): autolink selection with cmd + k

* feat: super note importer

* feat: handle html import

* fix: ignore load change event emitted by on change plugin
This commit is contained in:
Mo
2022-11-11 12:24:46 -06:00
committed by GitHub
parent 731e9df1af
commit da6f36f34c
18 changed files with 294 additions and 51 deletions

View File

@@ -27,6 +27,7 @@ const useRegisterPopoverToParent = (popoverId: string) => {
type Props = PopoverProps & {
open: boolean
disableClickOutside?: boolean
}
const Popover = ({
@@ -39,6 +40,7 @@ const Popover = ({
overrideZIndex,
side,
togglePopover,
disableClickOutside,
}: Props) => {
const popoverId = useRef(UuidGenerator.GenerateUuid())
@@ -96,6 +98,7 @@ const Popover = ({
overrideZIndex={overrideZIndex}
side={side}
togglePopover={togglePopover}
disableClickOutside={disableClickOutside}
>
{children}
</PositionedPopoverContent>