mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 05:36:05 +00:00
refactor: markdown rendering engine (#5079)
Some checks are pending
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / build-and-push (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
Some checks are pending
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / build-and-push (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
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