diff --git a/app/ycode/components/PageSettingsPanel.tsx b/app/ycode/components/PageSettingsPanel.tsx index 5c211cce..10d40db9 100644 --- a/app/ycode/components/PageSettingsPanel.tsx +++ b/app/ycode/components/PageSettingsPanel.tsx @@ -48,7 +48,7 @@ import { useAssetsStore } from '@/stores/useAssetsStore'; import RichTextEditor from './RichTextEditor'; import { Separator } from '@/components/ui/separator'; import { cn } from '@/lib/utils'; -import { getFieldIcon, IMAGE_FIELD_TYPES, SIMPLE_TEXT_FIELD_TYPES } from '@/lib/collection-field-utils'; +import { getFieldIcon, IMAGE_FIELD_TYPES, RICH_TEXT_FIELD_TYPES } from '@/lib/collection-field-utils'; export interface PageSettingsPanelHandle { checkUnsavedChanges: () => Promise; @@ -1602,7 +1602,7 @@ const PageSettingsPanel = React.forwardRef { const activeCollectionId = collectionId || currentPage?.settings?.cms?.collection_id || ''; const pageFields = fields[activeCollectionId] || []; @@ -1639,7 +1639,7 @@ const PageSettingsPanel = React.forwardRef { const activeCollectionId = collectionId || currentPage?.settings?.cms?.collection_id || ''; const pageFields = fields[activeCollectionId] || [];