Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/ycode/components/PageSettingsPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<boolean>;
Expand Down Expand Up @@ -1602,7 +1602,7 @@ const PageSettingsPanel = React.forwardRef<PageSettingsPanelHandle, PageSettings
value={seoTitle}
onChange={setSeoTitle}
placeholder={name || 'Page title'}
allowedFieldTypes={SIMPLE_TEXT_FIELD_TYPES}
allowedFieldTypes={RICH_TEXT_FIELD_TYPES}
fieldGroups={(() => {
const activeCollectionId = collectionId || currentPage?.settings?.cms?.collection_id || '';
const pageFields = fields[activeCollectionId] || [];
Expand Down Expand Up @@ -1639,7 +1639,7 @@ const PageSettingsPanel = React.forwardRef<PageSettingsPanelHandle, PageSettings
? 'Describe in more detail what error occurred on this page and why.'
: 'Describe your business and/or the content of this page.'
}
allowedFieldTypes={SIMPLE_TEXT_FIELD_TYPES}
allowedFieldTypes={RICH_TEXT_FIELD_TYPES}
fieldGroups={(() => {
const activeCollectionId = collectionId || currentPage?.settings?.cms?.collection_id || '';
const pageFields = fields[activeCollectionId] || [];
Expand Down