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