@dotcms/react 26.9.29-1-next.2808 → 26.9.29-1-next.2821
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.
|
@@ -24,9 +24,6 @@ function TinyMCEEditor({
|
|
|
24
24
|
return jsx(Editor, {
|
|
25
25
|
tinymceScriptSrc: scriptSrc,
|
|
26
26
|
inline: true,
|
|
27
|
-
// dotCMS ships TinyMCE under the GPL license, never commercial. This wrapper only
|
|
28
|
-
// honors a license key passed as this top-level prop — `init.license_key` is ignored.
|
|
29
|
-
licenseKey: "gpl",
|
|
30
27
|
onInit: (_, editor) => onEditorInit(editor),
|
|
31
28
|
init: TINYMCE_CONFIG[mode],
|
|
32
29
|
initialValue: initialValue,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { __DEFAULT_TINYMCE_CONFIG__, __BASE_TINYMCE_CONFIG_WITH_NO_DEFAULT__ } from '@dotcms/uve/internal';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const DEFAULT_TINYMCE_CONFIG = Object.assign({}, __DEFAULT_TINYMCE_CONFIG__);
|
|
3
|
+
const DEFAULT_TINYMCE_CONFIG = Object.assign({}, __DEFAULT_TINYMCE_CONFIG__, {
|
|
4
|
+
licenseKey: 'gpl' // Using self-hosted license key
|
|
5
|
+
});
|
|
7
6
|
const TINYMCE_CONFIG = {
|
|
8
7
|
full: Object.assign({}, DEFAULT_TINYMCE_CONFIG, __BASE_TINYMCE_CONFIG_WITH_NO_DEFAULT__.full),
|
|
9
8
|
plain: Object.assign({}, DEFAULT_TINYMCE_CONFIG, __BASE_TINYMCE_CONFIG_WITH_NO_DEFAULT__.plain),
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotcms/react",
|
|
3
|
-
"version": "26.9.29-1-next.
|
|
3
|
+
"version": "26.9.29-1-next.2821",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=18",
|
|
6
6
|
"react-dom": ">=18",
|
|
7
|
-
"@dotcms/uve": "26.9.29-1-next.
|
|
8
|
-
"@dotcms/client": "26.9.29-1-next.
|
|
9
|
-
"@dotcms/types": "26.9.29-1-next.
|
|
7
|
+
"@dotcms/uve": "26.9.29-1-next.2821",
|
|
8
|
+
"@dotcms/client": "26.9.29-1-next.2821",
|
|
9
|
+
"@dotcms/types": "26.9.29-1-next.2821"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@tinymce/tinymce-react": "6.
|
|
12
|
+
"@tinymce/tinymce-react": "6.2.1"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@dotcms/types": "26.9.29-1-next.
|
|
15
|
+
"@dotcms/types": "26.9.29-1-next.2821"
|
|
16
16
|
},
|
|
17
17
|
"description": "Official React Components library to render a dotCMS page.",
|
|
18
18
|
"repository": {
|