Skip to content

Commit 7132cba

Browse files
committed
DOC-3190: Update promotion documentation to clarify options for open source and cloud versions.
1 parent 51af4ff commit 7132cba

File tree

3 files changed

+7
-30
lines changed

3 files changed

+7
-30
lines changed

modules/ROOT/pages/promotions.adoc

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,3 @@
44
:keywords: upgrade, promotion, premium, button, lightning bolt
55

66
include::partial$misc/premium-upgrade-promotion-option.adoc[]
7-
8-
[[premium-upgrade-promotion-defaults]]
9-
== Premium upgrade promotion defaults
10-
11-
When the Community distribution of {productname} 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 {productname} are running on the {cloudname}.
12-
13-
This promotion button redirects to a link:{companyurl}/tinymce-self-hosted-premium-features/[promotion page], showcasing the benefits of the variety of xref:plugins.adoc#premium-plugins[Premium Plugins] available for {productname}.
14-
15-
When {productname} 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 {productname} is running in the {cloudname} or as a self-hosted instance.
16-
17-
The {productname} 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`.
18-
19-
[source,js]
20-
----
21-
tinymce.init({
22-
selector: "textarea", // change this value according to your HTML
23-
promotion: false
24-
});
25-
----
26-
27-
IMPORTANT: It is not necessary to set `promotion` to `false` when {productname} is running as part of a Premium plan. Running {productname} as part of a Premium plan automatically disables the *Upgrade* promotion button.

modules/ROOT/partials/configuration/onboarding.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
= Open source promotion
2+
13
[[onboarding]]
24
== `+onboarding+`
35

4-
The cloud version of {productname} contains a promotion for paid features included in the 14-day trial. This promotion can be toggled on or off with the onboarding option.
6+
The cloud version of {productname} contains a promotion for paid features included in the 14-day trial. This promotion can be toggled on or off with the `+onboarding+` option.
57

68
The promotion will automatically disappear when the trial ends.
79

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1+
= Cloud promotion
2+
13
[[promotion]]
24
== `+promotion+`
35

4-
{productname} 6.2 and later includes the `promotion` option. It controls the presentation or otherwise of a Tiny-specific promotion button.
6+
The open source version of {productname} contains a promotion for paid features. This promotion can be toggled on or off with the `+promotion+` option.
57

68
*Type:* `+Boolean+`
79

810
*Default value:* `+true+` in Community self-hosted instances; otherwise `+false+`.
911

1012
*Possible values:* `+true+`, `+false+`
1113

12-
See xref:promotions.adoc#premium-upgrade-promotion-defaults[Premium upgrade promotion defaults] for details.
13-
1414
=== Example: using open source `+promotion+`
1515

1616
[source,js]
@@ -19,8 +19,4 @@ tinymce.init({
1919
selector: "textarea", // change this value according to your HTML
2020
promotion: true
2121
});
22-
----
23-
24-
The *Upgrade* promotion appears in the unused corner of the {productname} menu bar. Consequently it does not appear if the menu bar is disabled.
25-
26-
NOTE: The distribution-specific defaults are not fixed. Someone running {productname} as part of a Premium plan can turn this option on. And someone running the Community distribution of {productname} as a self-hosted instance can turn this option off.
22+
----

0 commit comments

Comments
 (0)