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

This commit is contained in:
Katherine 2024-08-17 17:48:44 +08:00 committed by GitHub
parent cd4b071831
commit b152b33c06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -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":"客户端时区"

View File

@ -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',

View File

@ -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) => {