8000 Set licence_key in TinyMCE config · DMPRoadmap/roadmap@c1fe906 · GitHub
[go: up one dir, main page]

Skip to content

Commit c1fe906

Browse files
committed
Set licence_key in TinyMCE config
From https://www.tiny.cloud/docs/tinymce/latest/license-key/?utm_campaign=console_license_key_message&utm_source=tinymce&utm_medium=referral TinyMCE 7 is licensed under the GNU General Public License Version 2 or later. A new configuration option called 'license_key' requires developers to make a conscious decision to use TinyMCE with the GPLv2+ license or with a commercial license. If you are using TinyMCE in a self-hosted environment, a console log warning message will display if the license key config option is missing or invalid. This message aims to ensure compliance with licensing requirements and provide transparency during the evaluation period.
1 parent 6f15ec3 commit c1fe906

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/javascript/src/utils/tinymce.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import { isObject, isString, isUndefined } from './isType';
2525
// // https://www.tinymce.com/docs/advanced/usage-with-module-loaders/
2626
export const defaultOptions = {
2727
selector: '.tinymce',
28+
license_key: 'gpl',
2829
statusbar: true,
2930
menubar: false,
3031
toolbar: 'bold italic | bullist numlist | link | table',

0 commit comments

Comments
 (0)
0