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

@@ -23,6 +23,7 @@ const PositionedPopoverContent = ({
overrideZIndex,
side = 'bottom',
togglePopover,
disableClickOutside,
}: PopoverContentProps) => {
const [popoverElement, setPopoverElement] = useState<HTMLDivElement | null>(null)
const popoverRect = useAutoElementRect(popoverElement)
@@ -50,6 +51,7 @@ const PositionedPopoverContent = ({
anchorElement,
togglePopover,
childPopovers,
disabled: disableClickOutside,
})
useDisableBodyScrollOnMobile()