Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/+tinymce-license_key.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add "license key" field to TinyMCE schema. @petschki
11 changes: 11 additions & 0 deletions src/plone/base/interfaces/controlpanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=_(
Expand Down