@dotcms/react 0.0.1-beta.35 → 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.
- package/next.esm.js +14 -8
- package/package.json +3 -3
package/next.esm.js
CHANGED
|
@@ -813,14 +813,20 @@ function DotCMSEditableText({
|
|
|
813
813
|
}
|
|
814
814
|
});
|
|
815
815
|
}
|
|
816
|
-
return jsx(
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
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
|
+
})
|
|
824
830
|
});
|
|
825
831
|
}
|
|
826
832
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotcms/react",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
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.
|
|
8
|
-
"@dotcms/uve": "0.0.1-beta.
|
|
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": {
|