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

@@ -16,7 +16,7 @@ const ModalDialog = ({ children, onDismiss, className }: Props) => {
<AlertDialogContent
tabIndex={0}
className={classNames(
'flex w-full flex-col rounded border border-solid border-border bg-default p-0 shadow-main md:w-160',
'flex max-h-[85vh] w-full flex-col rounded border border-solid border-border bg-default p-0 shadow-main md:w-160',
className,
)}
>

View File

@@ -7,7 +7,7 @@ type Props = {
}
const ModalDialogDescription: FunctionComponent<Props> = ({ children, className = '' }) => (
<AlertDialogDescription className={`px-4 py-4 ${className}`}>{children}</AlertDialogDescription>
<AlertDialogDescription className={`overflow-y-scroll px-4 py-4 ${className}`}>{children}</AlertDialogDescription>
)
export default ModalDialogDescription