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