ywana-core8 0.0.414 → 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 +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +3 -1
- package/src/domain/ContentEditor.test.js +2 -1
- package/src/domain/TablePage.js +0 -1
- package/src/html/table.js +0 -1
package/dist/index.cjs
CHANGED
@@ -1855,7 +1855,6 @@ var StringCellViewer = function StringCellViewer(_ref7) {
|
|
1855
1855
|
break;
|
1856
1856
|
}
|
1857
1857
|
|
1858
|
-
console.log(value, format);
|
1859
1858
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
1860
1859
|
className: "field-editor string-viewer"
|
1861
1860
|
}, text);
|
@@ -4156,12 +4155,14 @@ var StringEditor = function StringEditor(_ref6) {
|
|
4156
4155
|
});
|
4157
4156
|
|
4158
4157
|
case FORMATS.TOKENS:
|
4158
|
+
var init = Array.isArray(value) ? value : [];
|
4159
4159
|
return /*#__PURE__*/React__default["default"].createElement(TokenField, {
|
4160
4160
|
id: id,
|
4161
4161
|
label: label,
|
4162
4162
|
onChange: change,
|
4163
4163
|
readOnly: !editable,
|
4164
|
-
options: buildOptions()
|
4164
|
+
options: buildOptions(),
|
4165
|
+
init: init
|
4165
4166
|
});
|
4166
4167
|
|
4167
4168
|
default:
|