Skip to content

Commit 51af4ff

Browse files
committed
DOC-3189: Refactor promotion documentation and update references to new promotions page.
1 parent 0421cfb commit 51af4ff

File tree

6 files changed

+32
-8
lines changed

6 files changed

+32
-8
lines changed

modules/ROOT/nav.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
** xref:editor-important-options.adoc[Integration options]
240240
** xref:editor-size-options.adoc[Size]
241241
** xref:editor-save-and-submit.adoc[Save and submit]
242-
** xref:editor-premium-upgrade-promotion.adoc[Premium upgrade promotion]
242+
** xref:promotions.adoc[Promotions]
243243
* Interface
244244
** Editor modes
245245
*** xref:use-tinymce-classic.adoc[Classic editing mode]

modules/ROOT/pages/initial-configuration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Editor options related to saving or submitting editor content.
2929

3030
|
3131
[.lead]
32-
xref:editor-premium-upgrade-promotion.adoc[Premium upgrade promotion]
32+
xref:promotions.adoc[Promotions]
3333

3434
Editor options related to turning the Premium promotion display off.
3535

modules/ROOT/pages/editor-premium-upgrade-promotion.adoc renamed to modules/ROOT/pages/promotions.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
include::partial$misc/premium-upgrade-promotion-option.adoc[]
77

88
[[premium-upgrade-promotion-defaults]]
9-
=== Premium upgrade promotion defaults
9+
== Premium upgrade promotion defaults
1010

1111
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}.
1212

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[[onboarding]]
2+
== `+onboarding+`
3+
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.
5+
6+
The promotion will automatically disappear when the trial ends.
7+
8+
*Type:* `+Boolean+`
9+
10+
*Default value:* `+true+` for cloud instances; otherwise `+false+`.
11+
12+
*Possible values:* `+true+`, `+false+`
13+
14+
=== Example: using cloud `+onboarding+`
15+
16+
[source,js]
17+
----
18+
tinymce.init({
19+
selector: "textarea", // change this value according to your HTML
20+
onboarding: false
21+
});
22+
----

modules/ROOT/partials/configuration/promotion.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
*Possible values:* `+true+`, `+false+`
1111

12-
See xref:editor-premium-upgrade-promotion.adoc#premium-upgrade-promotion-defaults[Premium upgrade promotion defaults] for details.
12+
See xref:promotions.adoc#premium-upgrade-promotion-defaults[Premium upgrade promotion defaults] for details.
1313

14-
=== Example: using `+promotion+`
14+
=== Example: using open source `+promotion+`
1515

1616
[source,js]
1717
----
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
[[premium-upgrade-promotion-option]]
2-
== Premium upgrade promotion option
1+
[[options]]
2+
== Options
33

4-
include::partial$configuration/promotion.adoc[leveloffset=+1]
4+
include::partial$configuration/promotion.adoc[leveloffset=+1]
5+
6+
include::partial$configuration/onboarding.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)