amis-saas-9193 [Feature] 新拖放组件内置的tpl类型默认从富文本改为普通文本

Change-Id: I2839b0aa510909f4c33f987149daac7bd30dbf45
This commit is contained in:
jinye 2023-01-11 21:17:16 +08:00
parent 2c75fc57d2
commit 1b8a1a8dd1

View File

@ -396,6 +396,7 @@ export const EditorNode = types
JSONPipeIn({
type: 'tpl',
tpl: container,
wrapperComponent: '',
inline: false
})
];
@ -417,6 +418,7 @@ export const EditorNode = types
return JSONPipeIn({
type: 'tpl',
tpl: item,
wrapperComponent: '',
inline: false
});
} else if (paths.length) {