mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 06:46:38 +00:00
fix: issue in data selector other block should display Markdown, not 'Add Text' (#5161)
This commit is contained in:
parent
afcb64ad23
commit
16254a4533
@ -70,21 +70,9 @@ const commonOptions = {
|
|||||||
name: 'otherBlocks',
|
name: 'otherBlocks',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: '{{t("Add text")}}',
|
name: 'markdown',
|
||||||
Component: 'BlockItemInitializer',
|
title: '{{t("Markdown")}}',
|
||||||
name: 'addText',
|
Component: 'MarkdownBlockInitializer',
|
||||||
schema: {
|
|
||||||
type: 'void',
|
|
||||||
'x-editable': false,
|
|
||||||
'x-decorator': 'BlockItem',
|
|
||||||
// 'x-designer': 'Markdown.Void.Designer',
|
|
||||||
'x-toolbar': 'BlockSchemaToolbar',
|
|
||||||
'x-settings': 'blockSettings:markdown',
|
|
||||||
'x-component': 'Markdown.Void',
|
|
||||||
'x-component-props': {
|
|
||||||
content: '{{t("This is a demo text, **supports Markdown syntax**.")}}',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user