ywana-core8 0.0.529 → 0.0.530
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +7 -0
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +7 -0
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +2 -0
package/package.json
CHANGED
@@ -181,6 +181,8 @@ export const FieldEditor = ({ field, onChange, content, outlined = false }) => {
|
|
181
181
|
return null
|
182
182
|
} else {
|
183
183
|
switch (type) {
|
184
|
+
case TYPES.IMAGE:
|
185
|
+
return <div className='photo'><img url={value} /></div>
|
184
186
|
case TYPES.ENTITY:
|
185
187
|
return <EntityEditor field={field} value={value1} onChange={change} />
|
186
188
|
case TYPES.STRING:
|