ywana-core8 0.0.187 → 0.0.188

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.187",
3
+ "version": "0.0.188",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -70,8 +70,6 @@ export const TabbedContentEditor = ({ content, filter, grouped = false, onChange
70
70
 
71
71
  const sections = content.sections()
72
72
 
73
- console.log("TabbedContentEditor",sections)
74
-
75
73
  return (
76
74
  <div className='content-editor tabbed'>
77
75
  <Tabs selected={tab} onChange={changeTab}>
@@ -253,7 +251,7 @@ export const StringEditor = ({ field, value = '', onChange, content, outlined })
253
251
  return (
254
252
  <div className='field-editor string-editor'>
255
253
 
256
- { format === FORMATS.HTML ? <Editor id={id} value={value} onChange={change}/> : null}
254
+ { format === FORMATS.HTML ? <Editor id={id} value={value} onChange={change} content={content}/> : null }
257
255
 
258
256
  {
259
257
  format === FORMATS.DATE ? <TextField outlined={outlined} id={id} type="date" label={label} value={value} onChange={change} readOnly={!editable} /> :
@@ -17,7 +17,8 @@ export const FORMATS = {
17
17
  NONE: '',
18
18
  DATE: 'date',
19
19
  EMAIL: 'email',
20
- HTML: 'HTML'
20
+ HTML: 'HTML',
21
+ URL: 'URL'
21
22
  }
22
23
 
23
24
  /**