diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx index 8168b25d..6c346cad 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx @@ -26,7 +26,7 @@ import { cssEditor } from '../styles'; import { randomColor } from '../utils'; import { BlockNoteSuggestionMenu } from './BlockNoteSuggestionMenu'; -import { BlockNoteToolbar } from './BlockNoteToolbar'; +import { BlockNoteToolbar } from './BlockNoteToolBar/BlockNoteToolbar'; import { QuoteBlock } from './custom-blocks'; export const blockNoteSchema = withPageBreak( diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/components/AIButton.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolBar/AIButton.tsx similarity index 99% rename from src/frontend/apps/impress/src/features/docs/doc-editor/components/AIButton.tsx rename to src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolBar/AIButton.tsx index f30ccc5b..4758976e 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-editor/components/AIButton.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolBar/AIButton.tsx @@ -20,7 +20,7 @@ import { AITransformActions, useDocAITransform, useDocAITranslate, -} from '../api/'; +} from '../../api'; type LanguageTranslate = { value: string; diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolbar.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolBar/BlockNoteToolbar.tsx similarity index 96% rename from src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolbar.tsx rename to src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolBar/BlockNoteToolbar.tsx index c1f106d9..08f83bf2 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolbar.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolBar/BlockNoteToolbar.tsx @@ -9,11 +9,12 @@ import { import React, { useCallback, useMemo, useState } from 'react'; import { useTranslation } from 'react-i18next'; +import { getQuoteFormattingToolbarItems } from '../custom-blocks'; + import { AIGroupButton } from './AIButton'; import { FileDownloadButton } from './FileDownloadButton'; import { MarkdownButton } from './MarkdownButton'; import { ModalConfirmDownloadUnsafe } from './ModalConfirmDownloadUnsafe'; -import { getQuoteFormattingToolbarItems } from './custom-blocks'; export const BlockNoteToolbar = () => { const dict = useDictionary(); diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/components/FileDownloadButton.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolBar/FileDownloadButton.tsx similarity index 100% rename from src/frontend/apps/impress/src/features/docs/doc-editor/components/FileDownloadButton.tsx rename to src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolBar/FileDownloadButton.tsx diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/components/MarkdownButton.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolBar/MarkdownButton.tsx similarity index 100% rename from src/frontend/apps/impress/src/features/docs/doc-editor/components/MarkdownButton.tsx rename to src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolBar/MarkdownButton.tsx diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/components/ModalConfirmDownloadUnsafe.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolBar/ModalConfirmDownloadUnsafe.tsx similarity index 100% rename from src/frontend/apps/impress/src/features/docs/doc-editor/components/ModalConfirmDownloadUnsafe.tsx rename to src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolBar/ModalConfirmDownloadUnsafe.tsx