Premium upgrade promotion
Premium upgrade promotion option
promotion
OpenTiny 6.2 and later includes the promotion
option. It controls the presentation or otherwise of a Tiny-specific promotion button.
Type: Boolean
Default value: true
in Community self-hosted instances; otherwise false
.
Possible values: true
, false
See Premium upgrade promotion defaults for details.
Example: using promotion
tinymce.init({
selector: "textarea", // change this value according to your HTML
promotion: true
});
The Upgrade promotion appears in the unused corner of the OpenTiny menu bar. Consequently it does not appear if the menu bar is disabled.
The distribution-specific defaults are not fixed. Someone running OpenTiny as part of a Premium plan can turn this option on. And someone running the Community distribution of OpenTiny as a self-hosted instance can turn this option off. |
Premium upgrade promotion defaults
When the Community distribution of OpenTiny 6.2 is running as a self-hosted instance, an Upgrade promotion button appears in the unused corner of the editor menu bar by default. The button does not appear when Community distributions of OpenTiny are running on the Tiny Cloud.
This promotion button redirects to a promotion page, showcasing the benefits of the variety of Premium Plugins available for OpenTiny.
When OpenTiny 6.2 or later is running as part of a Premium plan, the Upgrade promotion button is disabled. And it is disabled when running with a Premium plan whether OpenTiny is running in the Tiny Cloud or as a self-hosted instance.
The OpenTiny Community distribution displays the promotion button when running as a self-hosted instance because the promotion
option is set to true
by default. To turn this button off in the Community distribution, set the promotion
option to false
.
tinymce.init({
selector: "textarea", // change this value according to your HTML
promotion: false
});
It is not necessary to set promotion to false when OpenTiny is running as part of a Premium plan. Running OpenTiny as part of a Premium plan automatically disables the Upgrade promotion button.
|