mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-04 21:28:34 +08:00
refactor: markdown rendering engine (#5079)
This commit is contained in:
parent
cd4b071831
commit
b152b33c06
@ -967,7 +967,7 @@
|
||||
"Clear default value": "清除默认值",
|
||||
"Open in new window": "新窗口打开",
|
||||
"Sorry, the page you visited does not exist.": "抱歉,你访问的页面不存在。",
|
||||
"Set Template Engine": "设置模板引擎",
|
||||
"Template engine": "模板引擎",
|
||||
"Default value to current time":"设置字段默认值为当前时间",
|
||||
"Automatically update timestamp on update":"当记录更新时自动设置字段值为当前时间",
|
||||
"Client's time zone":"客户端时区"
|
||||
|
@ -30,14 +30,14 @@ export const markdownBlockSettings = new SchemaSettings({
|
||||
};
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'setBlockTemplate',
|
||||
Component: SchemaSettingsRenderEngine,
|
||||
},
|
||||
{
|
||||
name: 'setTheBlockHeight',
|
||||
Component: SchemaSettingsBlockHeightItem,
|
||||
},
|
||||
{
|
||||
name: 'setBlockTemplate',
|
||||
Component: SchemaSettingsRenderEngine,
|
||||
},
|
||||
{
|
||||
name: 'divider',
|
||||
type: 'divider',
|
||||
|
@ -34,7 +34,7 @@ export function SchemaSettingsRenderEngine() {
|
||||
return (
|
||||
<SchemaSettingsSelectItem
|
||||
key="render-template"
|
||||
title={t('Set Template Engine')}
|
||||
title={t('Template engine')}
|
||||
options={options}
|
||||
value={field.decoratorProps.engine || 'string'}
|
||||
onChange={(engine) => {
|
||||
|
Loading…
Reference in New Issue
Block a user