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.modern.js
CHANGED
@@ -4147,13 +4147,14 @@ var StringEditor = function StringEditor(_ref6) {
|
|
4147
4147
|
});
|
4148
4148
|
|
4149
4149
|
case FORMATS.TOKENS:
|
4150
|
+
var init = Array.isArray(value) ? value : [];
|
4150
4151
|
return /*#__PURE__*/React.createElement(TokenField, {
|
4151
4152
|
id: id,
|
4152
4153
|
label: label,
|
4153
4154
|
onChange: change,
|
4154
4155
|
readOnly: !editable,
|
4155
4156
|
options: buildOptions(),
|
4156
|
-
init:
|
4157
|
+
init: init
|
4157
4158
|
});
|
4158
4159
|
|
4159
4160
|
default:
|