ywana-core8 0.0.388 → 0.0.389
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 +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +5 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +5 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +1 -0
- package/src/domain/ContentType.js +1 -0
package/dist/index.modern.js
CHANGED
@@ -1196,7 +1196,8 @@ var FORMATS = {
|
|
1196
1196
|
EMAIL: 'email',
|
1197
1197
|
HTML: 'HTML',
|
1198
1198
|
URL: 'URL',
|
1199
|
-
IMG: 'IMG'
|
1199
|
+
IMG: 'IMG',
|
1200
|
+
COLOR: 'COLOR'
|
1200
1201
|
};
|
1201
1202
|
/**
|
1202
1203
|
* CHECK
|
@@ -4068,6 +4069,9 @@ var StringEditor = function StringEditor(_ref6) {
|
|
4068
4069
|
|
4069
4070
|
function renderFormat(format, options) {
|
4070
4071
|
switch (format) {
|
4072
|
+
case FORMATS.COLOR:
|
4073
|
+
return /*#__PURE__*/React.createElement("div", null, "COLOR PICKER");
|
4074
|
+
|
4071
4075
|
case FORMATS.HTML:
|
4072
4076
|
return /*#__PURE__*/React.createElement(Editor, {
|
4073
4077
|
id: id,
|