|
@@ -17,6 +17,7 @@ import { useEditorSettings } from '~/stores/editor';
|
|
|
import { useIsMobile } from '~/stores/ui';
|
|
import { useIsMobile } from '~/stores/ui';
|
|
|
|
|
|
|
|
import { IEditorMethods } from '../../interfaces/editor-methods';
|
|
import { IEditorMethods } from '../../interfaces/editor-methods';
|
|
|
|
|
+import { ModalForParentPageSelection } from '../ModalForParentPageSelection';
|
|
|
|
|
|
|
|
import AbstractEditor from './AbstractEditor';
|
|
import AbstractEditor from './AbstractEditor';
|
|
|
import { Cheatsheet } from './Cheatsheet';
|
|
import { Cheatsheet } from './Cheatsheet';
|
|
@@ -24,6 +25,7 @@ import CodeMirrorEditor from './CodeMirrorEditor';
|
|
|
import pasteHelper from './PasteHelper';
|
|
import pasteHelper from './PasteHelper';
|
|
|
import TextAreaEditor from './TextAreaEditor';
|
|
import TextAreaEditor from './TextAreaEditor';
|
|
|
|
|
|
|
|
|
|
+
|
|
|
import styles from './Editor.module.scss';
|
|
import styles from './Editor.module.scss';
|
|
|
|
|
|
|
|
export type EditorPropsType = {
|
|
export type EditorPropsType = {
|
|
@@ -335,6 +337,8 @@ const Editor: ForwardRefRenderFunction<IEditorMethods, EditorPropsType> = (props
|
|
|
}}
|
|
}}
|
|
|
</Dropzone>
|
|
</Dropzone>
|
|
|
|
|
|
|
|
|
|
+ <ModalForParentPageSelection></ModalForParentPageSelection>
|
|
|
|
|
+
|
|
|
{ isUploadable
|
|
{ isUploadable
|
|
|
&& (
|
|
&& (
|
|
|
<button
|
|
<button
|