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.modern.js
CHANGED
@@ -1847,7 +1847,6 @@ var StringCellViewer = function StringCellViewer(_ref7) {
|
|
1847
1847
|
break;
|
1848
1848
|
}
|
1849
1849
|
|
1850
|
-
console.log(value, format);
|
1851
1850
|
return /*#__PURE__*/React.createElement("div", {
|
1852
1851
|
className: "field-editor string-viewer"
|
1853
1852
|
}, text);
|
@@ -4148,12 +4147,14 @@ var StringEditor = function StringEditor(_ref6) {
|
|
4148
4147
|
});
|
4149
4148
|
|
4150
4149
|
case FORMATS.TOKENS:
|
4150
|
+
var init = Array.isArray(value) ? value : [];
|
4151
4151
|
return /*#__PURE__*/React.createElement(TokenField, {
|
4152
4152
|
id: id,
|
4153
4153
|
label: label,
|
4154
4154
|
onChange: change,
|
4155
4155
|
readOnly: !editable,
|
4156
|
-
options: buildOptions()
|
4156
|
+
options: buildOptions(),
|
4157
|
+
init: init
|
4157
4158
|
});
|
4158
4159
|
|
4159
4160
|
default:
|