|
@@ -3,7 +3,7 @@ import React, {
|
|
|
} from 'react';
|
|
} from 'react';
|
|
|
|
|
|
|
|
import {
|
|
import {
|
|
|
- type EditorTheme, type KeyMapMode, type PasteMode, AllPasteMode, DEFAULT_KEYMAP, DEFAULT_PASTE_MODE, DEFAULT_THEME,
|
|
|
|
|
|
|
+ type EditorTheme, type KeyMapMode, PasteMode, AllPasteMode, DEFAULT_KEYMAP, DEFAULT_PASTE_MODE, DEFAULT_THEME,
|
|
|
} from '@growi/editor';
|
|
} from '@growi/editor';
|
|
|
import { useTranslation } from 'next-i18next';
|
|
import { useTranslation } from 'next-i18next';
|
|
|
import Image from 'next/image';
|
|
import Image from 'next/image';
|
|
@@ -357,7 +357,7 @@ export const OptionsSelector = (): JSX.Element => {
|
|
|
<ChangeStateButton
|
|
<ChangeStateButton
|
|
|
onClick={() => setStatus(OptionsStatus.Paste)}
|
|
onClick={() => setStatus(OptionsStatus.Paste)}
|
|
|
header={t('page_edit.paste.title')}
|
|
header={t('page_edit.paste.title')}
|
|
|
- data={t(`page_edit.paste.${editorSettings.pasteMode ?? 'both'}`) ?? ''}
|
|
|
|
|
|
|
+ data={t(`page_edit.paste.${editorSettings.pasteMode ?? PasteMode.both}`) ?? ''}
|
|
|
/>
|
|
/>
|
|
|
<hr className="my-1" />
|
|
<hr className="my-1" />
|
|
|
<ConfigurationSelector />
|
|
<ConfigurationSelector />
|