You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

能否通过CrafterCMS Studio拖拽调整内容字段的显示顺序?

关于CrafterCMS与Next.js结合的字段拖拽调整问题

背景

我正在自学将无头CMS(CrafterCMS)与Next.js结合使用。我在CrafterCMS Studio中创建了仅包含标题和文本的简单内容类型:
CrafterCMS内容类型配置界面

对应实现代码

页面组件(TestPage)

export default async function TestPage() {
    const model = await getModel('/site/website/test/index.xml');
    return (
        <TestComponent model={model} />
    );
}

渲染组件(TestComponent)

export default function TestComponent(props) {
    const { isAuthoring } = useCrafterAppContext();
    const { model } = props;

    return (
        <ExperienceBuilder path={model.craftercms.path} isAuthoring={isAuthoring}>
            <Model model={model} >
                <div className="space-y-4">
                    <RenderField
                        model={model}
                        fieldId="title_s"
                        className="text-xl text-gray-800"
                    />

                    <RenderField
                        model={model}
                        fieldId="text_t"
                        className="text-xl text-gray-800"
                    />
                </div>
            </Model>
        </ExperienceBuilder>
    );
}

问题

请问是否可以通过Studio功能拖拽调整这两个字段的位置?例如将文本字段移至首位。目前我仅能修改内容,拖拽功能不可用:
CrafterCMS内容编辑界面(拖拽功能未激活)

内容的提问来源于stack exchange,提问作者Miguelii

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.20 02:15:26