Skip to content

Commit 396e478

Browse files
committed
add new "license_key" field for TinyMCE
1 parent 8c236dc commit 396e478

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add "license key" field to TinyMCE schema. @petschki

src/plone/base/interfaces/controlpanel.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,17 @@ class ITinyMCEResourceTypesSchema(Interface):
752752
class ITinyMCEAdvancedSchema(Interface):
753753
"""This interface defines the resource types properties."""
754754

755+
license_key = schema.TextLine(
756+
title=_("label_tinymce_license_key", "Licence key"),
757+
description=_(
758+
"hint_tinymce_license_key",
759+
"Enter your TinyMCE commerical licence key. NOTE: if you are using the "
760+
"GPL version, leave this empty. If you have a commercial licence, "
761+
"make sure you configure your licensekeymanager plugin in the 'Custom plugins'.",
762+
),
763+
required=False,
764+
)
765+
755766
other_settings = schema.Text(
756767
title=_("label_tinymce_other_settings", "Other settings"),
757768
description=_(

0 commit comments

Comments
 (0)