Initialize TinyMCE using gpl license

This commit is contained in:
johnnyq
2025-01-24 21:58:12 -05:00
parent 156fcb7379
commit 927725de7d

View File

@@ -40,6 +40,7 @@ tinymce.init({
toolbar: 'bold italic styles'
},
plugins: 'link image lists table code codesample fullscreen autoresize',
license_key: 'gpl'
});
// Initialize TinyMCE
@@ -70,6 +71,7 @@ tinymce.init({
toolbar: 'bold italic styles'
},
plugins: 'link image lists table code codesample fullscreen autoresize',
license_key: 'gpl',
setup: function(editor) {
var rewordButtonApi;
@@ -167,7 +169,7 @@ tinymce.init({
toolbar: 'bold italic styles'
},
plugins: 'link image lists table code fullscreen autoresize',
license_key: 'gpl'
});
// Initialize TinyMCE AI
@@ -195,6 +197,7 @@ tinymce.init({
toolbar: 'bold italic styles'
},
plugins: 'link image lists table code codesample fullscreen autoresize',
license_key: 'gpl',
setup: function(editor) {
var rewordButtonApi;
@@ -279,6 +282,7 @@ tinymce.init({
statusbar: false,
readonly: false,
plugins: 'autoresize',
license_key: 'gpl',
});
// DateTime