|
@@ -11,7 +11,6 @@ import type {
|
|
|
import {
|
|
import {
|
|
|
isClient, pagePathUtils, pathUtils,
|
|
isClient, pagePathUtils, pathUtils,
|
|
|
} from '@growi/core/dist/utils';
|
|
} from '@growi/core/dist/utils';
|
|
|
-import { AcceptedUploadFileType } from '@growi/editor';
|
|
|
|
|
import ExtensibleCustomError from 'extensible-custom-error';
|
|
import ExtensibleCustomError from 'extensible-custom-error';
|
|
|
import type {
|
|
import type {
|
|
|
GetServerSideProps, GetServerSidePropsContext,
|
|
GetServerSideProps, GetServerSidePropsContext,
|
|
@@ -43,7 +42,6 @@ import {
|
|
|
useIsSlackConfigured, useRendererConfig, useGrowiCloudUri,
|
|
useIsSlackConfigured, useRendererConfig, useGrowiCloudUri,
|
|
|
useEditorConfig, useIsAllReplyShown, useIsContainerFluid, useIsNotCreatable,
|
|
useEditorConfig, useIsAllReplyShown, useIsContainerFluid, useIsNotCreatable,
|
|
|
useIsUploadAllFileAllowed, useIsUploadEnabled,
|
|
useIsUploadAllFileAllowed, useIsUploadEnabled,
|
|
|
- // useAcceptedUploadFileType,
|
|
|
|
|
} from '~/stores/context';
|
|
} from '~/stores/context';
|
|
|
import { useEditingMarkdown } from '~/stores/editor';
|
|
import { useEditingMarkdown } from '~/stores/editor';
|
|
|
import {
|
|
import {
|
|
@@ -225,7 +223,6 @@ const Page: NextPageWithLayout<Props> = (props: Props) => {
|
|
|
|
|
|
|
|
useIsUploadAllFileAllowed(props.editorConfig.upload.isUploadAllFileAllowed);
|
|
useIsUploadAllFileAllowed(props.editorConfig.upload.isUploadAllFileAllowed);
|
|
|
useIsUploadEnabled(props.editorConfig.upload.isUploadEnabled);
|
|
useIsUploadEnabled(props.editorConfig.upload.isUploadEnabled);
|
|
|
- // useAcceptedUploadFileType(props.editorConfig.acceptedUploadFileType);
|
|
|
|
|
|
|
|
|
|
const { pageWithMeta } = props;
|
|
const { pageWithMeta } = props;
|
|
|
|
|
|