ywana-core8 0.0.416 → 0.0.417
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 +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +3 -1
package/dist/index.cjs
CHANGED
@@ -4155,13 +4155,14 @@ var StringEditor = function StringEditor(_ref6) {
|
|
4155
4155
|
});
|
4156
4156
|
|
4157
4157
|
case FORMATS.TOKENS:
|
4158
|
+
var init = Array.isArray(value) ? value : [];
|
4158
4159
|
return /*#__PURE__*/React__default["default"].createElement(TokenField, {
|
4159
4160
|
id: id,
|
4160
4161
|
label: label,
|
4161
4162
|
onChange: change,
|
4162
4163
|
readOnly: !editable,
|
4163
4164
|
options: buildOptions(),
|
4164
|
-
init:
|
4165
|
+
init: init
|
4165
4166
|
});
|
4166
4167
|
|
4167
4168
|
default:
|