ywana-core8 0.0.186 → 0.0.190
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 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +5 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +5 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +5 -1
- package/src/css/theme.css +1 -1
- package/src/domain/ContentEditor.js +1 -3
- package/src/domain/ContentType.js +2 -1
package/dist/index.modern.js
CHANGED
@@ -2282,7 +2282,8 @@ var FORMATS = {
|
|
2282
2282
|
NONE: '',
|
2283
2283
|
DATE: 'date',
|
2284
2284
|
EMAIL: 'email',
|
2285
|
-
HTML: 'HTML'
|
2285
|
+
HTML: 'HTML',
|
2286
|
+
URL: 'URL'
|
2286
2287
|
};
|
2287
2288
|
/**
|
2288
2289
|
* CHECK
|
@@ -2710,7 +2711,6 @@ var TabbedContentEditor = function TabbedContentEditor(_ref2) {
|
|
2710
2711
|
}
|
2711
2712
|
|
2712
2713
|
var sections = content.sections();
|
2713
|
-
console.log("TabbedContentEditor", sections);
|
2714
2714
|
return /*#__PURE__*/React.createElement("div", {
|
2715
2715
|
className: "content-editor tabbed"
|
2716
2716
|
}, /*#__PURE__*/React.createElement(Tabs, {
|
@@ -2982,8 +2982,10 @@ var StringEditor = function StringEditor(_ref6) {
|
|
2982
2982
|
return /*#__PURE__*/React.createElement("div", {
|
2983
2983
|
className: "field-editor string-editor"
|
2984
2984
|
}, format === FORMATS.HTML ? /*#__PURE__*/React.createElement(Editor, {
|
2985
|
+
id: id,
|
2985
2986
|
value: value,
|
2986
|
-
onChange: change
|
2987
|
+
onChange: change,
|
2988
|
+
content: content
|
2987
2989
|
}) : null, format === FORMATS.DATE ? /*#__PURE__*/React.createElement(TextField, {
|
2988
2990
|
outlined: outlined,
|
2989
2991
|
id: id,
|