diff --git a/news/+tinymce-license_key.feature.md b/news/+tinymce-license_key.feature.md new file mode 100644 index 0000000..87d1f25 --- /dev/null +++ b/news/+tinymce-license_key.feature.md @@ -0,0 +1 @@ +Add "license key" field to TinyMCE schema. @petschki diff --git a/src/plone/base/interfaces/controlpanel.py b/src/plone/base/interfaces/controlpanel.py index a4dfa32..6be6bbb 100644 --- a/src/plone/base/interfaces/controlpanel.py +++ b/src/plone/base/interfaces/controlpanel.py @@ -752,6 +752,17 @@ class ITinyMCEResourceTypesSchema(Interface): class ITinyMCEAdvancedSchema(Interface): """This interface defines the resource types properties.""" + license_key = schema.TextLine( + title=_("label_tinymce_license_key", "Licence key"), + description=_( + "hint_tinymce_license_key", + "Enter your TinyMCE commercial licence key. NOTE: if you are using the " + "GPL version, leave this empty. If you have a commercial licence, " + "make sure you configure your licensekeymanager plugin in the 'Custom plugins'.", + ), + required=False, + ) + other_settings = schema.Text( title=_("label_tinymce_other_settings", "Other settings"), description=_(