починка багов
This commit is contained in:
@@ -22,6 +22,10 @@ export const textDefinition: ElementDefinition<TextConfig, string> = {
|
||||
name: '',
|
||||
},
|
||||
mapToCells: config => config.targetCells || [],
|
||||
mapToCellValues: (config, value) => {
|
||||
const cells = config.targetCells || []
|
||||
return cells.map(target => ({ target, value: value || '' }))
|
||||
},
|
||||
Editor: () => <ExtraSettingsBadge />,
|
||||
Preview: ({ config }) => (
|
||||
<div className="space-y-1">
|
||||
|
||||
Reference in New Issue
Block a user