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/dist/index.modern.js
CHANGED
@@ -4169,6 +4169,13 @@ var FieldEditor = function FieldEditor(_ref4) {
|
|
4169
4169
|
return null;
|
4170
4170
|
} else {
|
4171
4171
|
switch (type) {
|
4172
|
+
case TYPES.IMAGE:
|
4173
|
+
return /*#__PURE__*/React.createElement("div", {
|
4174
|
+
className: "photo"
|
4175
|
+
}, /*#__PURE__*/React.createElement("img", {
|
4176
|
+
url: value
|
4177
|
+
}));
|
4178
|
+
|
4172
4179
|
case TYPES.ENTITY:
|
4173
4180
|
return /*#__PURE__*/React.createElement(EntityEditor, {
|
4174
4181
|
field: field,
|