ultisuite-client/app/drive/docs/[fileId]/edit/layout.tsx
R3D347HR4Y 82ca9a27db
Some checks are pending
E2E / Playwright e2e (push) Waiting to run
feat(drive): refactor document and drawing editors with new metadata handling
- Replaced suite page metadata with drive-specific metadata for document and drawing editors.
- Introduced new `driveEditorPageMetadata` function to manage titles and favicons based on editor type.
- Updated layout components for document and drawing editors to utilize the new metadata structure.
- Enhanced document title handling in various editor components to reflect the current editing context.
- Added new SVG icons for UltiDocs, UltiSheets, UltiSlides, and UltiDraw to improve visual consistency across editors.
- Improved print styles and layout handling for better document rendering in print and PDF formats.
2026-06-15 15:51:09 +02:00

15 lines
348 B
TypeScript

import type { Metadata } from "next"
import { driveEditorPageMetadata } from "@/lib/drive/drive-editor-metadata"
export async function generateMetadata(): Promise<Metadata> {
return driveEditorPageMetadata("docs", "Document")
}
export default function DriveDocsEditLayout({
children,
}: {
children: React.ReactNode
}) {
return children
}