@dotcms/react 0.0.1-beta.34 → 0.0.1-beta.36

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.
Files changed (2) hide show
  1. package/next.esm.js +15 -8
  2. package/package.json +3 -3
package/next.esm.js CHANGED
@@ -138,6 +138,7 @@ const EmptyContainer = dotAttributes => {
138
138
  style: EMPTY_CONTAINER_STYLE_REACT,
139
139
  children: jsx("span", {
140
140
  "data-testid": "empty-container-message",
141
+ "data-dot-object": "empty-content",
141
142
  children: "This container is empty."
142
143
  })
143
144
  }));
@@ -812,14 +813,20 @@ function DotCMSEditableText({
812
813
  }
813
814
  });
814
815
  }
815
- return jsx(Editor, {
816
- tinymceScriptSrc: scriptSrc,
817
- inline: true,
818
- onInit: (_, editor) => editorRef.current = editor,
819
- init: TINYMCE_CONFIG[mode],
820
- initialValue: content,
821
- onMouseDown: onMouseDown,
822
- onFocusOut: onFocusOut
816
+ return jsx("div", {
817
+ style: {
818
+ outline: '2px solid #006ce7',
819
+ borderRadius: '4px'
820
+ },
821
+ children: jsx(Editor, {
822
+ tinymceScriptSrc: scriptSrc,
823
+ inline: true,
824
+ onInit: (_, editor) => editorRef.current = editor,
825
+ init: TINYMCE_CONFIG[mode],
826
+ initialValue: content,
827
+ onMouseDown: onMouseDown,
828
+ onFocusOut: onFocusOut
829
+ })
823
830
  });
824
831
  }
825
832
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dotcms/react",
3
- "version": "0.0.1-beta.34",
3
+ "version": "0.0.1-beta.36",
4
4
  "peerDependencies": {
5
5
  "react": ">=18",
6
6
  "react-dom": ">=18",
7
- "@dotcms/client": "0.0.1-beta.34",
8
- "@dotcms/uve": "0.0.1-beta.34",
7
+ "@dotcms/client": "0.0.1-beta.36",
8
+ "@dotcms/uve": "0.0.1-beta.36",
9
9
  "@tinymce/tinymce-react": "^6.0.0"
10
10
  },
11
11
  "devDependencies": {