Skip to content

Commit 6279be0

Browse files
committed
DOC-3313: Improve Developer Onboarding and fix broken partials for bundling pages.
1 parent b0ef6ac commit 6279be0

File tree

14 files changed

+1651
-180
lines changed

14 files changed

+1651
-180
lines changed

modules/ROOT/examples/live-demos/default-editor/example.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
when you click submit.
44
-->
55
<textarea id="default-editor">
6-
<p><em>Hello</em>, <span style="text-decoration: underline;"><strong>World!</strong></span></p>
6+
<h1>Welcome to TinyMCE!</h1>
7+
<p>⭐️ Let's <em>explore</em> some features 🗺️ like <span style="background-color: #bfedd2;">footnotes</span>, <span style="background-color: #c2e0f4;">spellchecking</span> and <span style="background-color: #fbeeb8;">export to PDF</span>...</p>
78
</textarea>

modules/ROOT/examples/live-demos/default-editor/index.html

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,34 @@
1414
}
1515
.live_demo {
1616
background-color: #335dff;
17-
color: #fafafa;
17+
color: #fafafa !important;
1818
cursor: pointer;
1919
font-size: 1em;
20+
font-weight: 600;
2021
line-height: 1.15;
2122
margin: 0;
22-
padding: .5rem;
23-
border-radius: 6px;
23+
padding: 0.625rem 1.5rem;
24+
border-radius: 8px;
25+
border: none;
26+
transition: all 0.3s ease;
27+
box-shadow: 0 2px 8px rgba(51, 93, 255, 0.2);
2428
}
2529
.live_demo:hover {
26-
background-color: #2a4fd8;
30+
background-color: #f5f5f5 !important;
31+
color: #0c132c !important;
32+
transform: translateY(-2px);
33+
box-shadow: 0 4px 16px rgba(51, 93, 255, 0.3);
2734
}
2835
</style>
2936

3037
<textarea id="default-editor">
31-
<p><em>Hello</em>, <span style="text-decoration: underline;"><strong>World!</strong></span></p>
38+
<h1>Welcome to TinyMCE!</h1>
39+
<p>⭐️ Let's <em>explore</em> some features 🗺️ like <span style="background-color: #bfedd2;">footnotes</span>, <span style="background-color: #c2e0f4;">spellchecking</span> and <span style="background-color: #fbeeb8;">export to PDF</span>...</p>
3240
</textarea>
3341
<div id="submitContainer">
3442
<button id="fake-submit" class="live_demo">View HTML Output</button>
3543
</div>
36-
<pre id="output-content" class="contentDumpBox">Click the "View HTML Output" button to see the generated HTML content.</pre>
44+
<pre id="output-content" class="contentDumpBox">Click the "View HTML Output" button to see the generated HTML content. Try editing the text above to see how TinyMCE preserves your formatting and styles!</pre>
3745
<script>
3846
const btn = document.getElementById('fake-submit');
3947
btn.addEventListener('click', () => {
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
tinymce.init({
22
selector: 'textarea#default-editor',
33
plugins: [
4-
"advlist", "anchor", "autolink", "charmap", "code", "fullscreen",
5-
"help", "image", "insertdatetime", "link", "lists", "media",
6-
"preview", "searchreplace", "table", "visualblocks",
4+
"advlist", "autolink", "charmap", "codesample", "emoticons", "help",
5+
"image", "link", "lists", "searchreplace", "table", "wordcount",
6+
// Premium features
7+
"advcode", "autocorrect", "footnotes", "mediaembed",
8+
"powerpaste", "tinymcespellchecker", "casechange", "checklist",
9+
"formatpainter", "permanentpen", "advtable", "tableofcontents"
710
],
8-
toolbar: "undo redo | styles | bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",
11+
toolbar: "spellcheckdialog | styles | bold italic underline strikethrough | align bullist numlist | link image emoticons footnotes checklist formatpainter permanentpen tableofcontents",
912
});

modules/ROOT/nav.adoc

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
* xref:getting-started.adoc[Getting started]
22
** xref:introduction-to-tinymce.adoc[Introduction to {productname}]
33
** xref:installation.adoc[Installation]
4-
*** Cloud
4+
*** xref:installation-cloud.adoc[Cloud]
55
**** xref:cloud-quick-start.adoc[Quick start]
66
**** xref:react-cloud.adoc[React]
77
**** xref:angular-cloud.adoc[Angular]
@@ -14,44 +14,51 @@
1414
**** xref:django-cloud.adoc[Django]
1515
**** xref:laravel-tiny-cloud.adoc[Laravel]
1616
**** xref:rails-cloud.adoc[Ruby on Rails]
17-
*** Self-hosted
17+
*** xref:installation-self-hosted.adoc[Self-hosted]
1818
**** React
1919
***** xref:react-pm-host.adoc[Using a package manager with hosting]
2020
***** xref:react-pm-bundle.adoc[Using a package manager with bundling]
21-
***** xref:react-zip-host.adoc[Using a .zip package with hosting]
22-
***** xref:react-zip-bundle.adoc[Using a .zip package with bundling]
2321
**** Angular
2422
***** xref:angular-pm.adoc[Using a package manager]
25-
***** xref:angular-zip.adoc[Using a .zip package]
2623
**** Vue.js
2724
***** xref:vue-pm.adoc[Using a package manager]
28-
***** xref:vue-zip.adoc[Using a .zip package]
2925
**** Blazor
3026
***** xref:blazor-pm.adoc[Using a package manager]
31-
***** xref:blazor-zip.adoc[Using a .zip package]
3227
**** Svelte
3328
***** xref:svelte-pm.adoc[Using a package manager]
34-
***** xref:svelte-zip.adoc[Using a .zip package]
3529
**** Web Component
3630
***** xref:webcomponent-pm.adoc[Using a package manager]
37-
***** xref:webcomponent-zip.adoc[Using a .zip package]
38-
**** xref:swing.adoc[Java Swing]
3931
**** xref:shadow-dom.adoc[Shadow DOM]
4032
**** xref:jquery-pm.adoc[jQuery]
41-
**** xref:bootstrap-zip.adoc[Bootstrap]
42-
**** xref:django-zip.adoc[Django]
4333
**** xref:expressjs-pm.adoc[Node.js + Express]
4434
**** Laravel
4535
***** xref:laravel-composer-install.adoc[Using the Composer package]
46-
***** xref:laravel-zip-install.adoc[Using a .zip package]
4736
**** Ruby on Rails
4837
***** xref:rails-third-party.adoc[Using a package manager]
49-
***** xref:rails-zip.adoc[Using a .zip package]
5038
**** xref:wordpress.adoc[WordPress]
5139
**** xref:npm-projects.adoc[NPM projects]
5240
**** xref:php-projects.adoc[PHP projects]
5341
**** xref:dotnet-projects.adoc[.NET projects]
5442
**** xref:bower-projects.adoc[Bower projects]
43+
*** xref:installation-zip.adoc[ZIP]
44+
**** React
45+
***** xref:react-zip-host.adoc[Using a .zip package with hosting]
46+
***** xref:react-zip-bundle.adoc[Using a .zip package with bundling]
47+
**** Angular
48+
***** xref:angular-zip.adoc[Using a .zip package]
49+
**** Vue.js
50+
***** xref:vue-zip.adoc[Using a .zip package]
51+
**** Blazor
52+
***** xref:blazor-zip.adoc[Using a .zip package]
53+
**** Svelte
54+
***** xref:svelte-zip.adoc[Using a .zip package]
55+
**** Web Component
56+
***** xref:webcomponent-zip.adoc[Using a .zip package]
57+
**** xref:bootstrap-zip.adoc[Bootstrap]
58+
**** xref:django-zip.adoc[Django]
59+
**** xref:laravel-zip-install.adoc[Laravel]
60+
**** xref:rails-zip.adoc[Ruby on Rails]
61+
**** xref:swing.adoc[Java Swing]
5562
**** xref:zip-install.adoc[{productname} .zip deployments]
5663
** xref:upgrading.adoc[Upgrading {productname}]
5764
* xref:how-to-guides.adoc[How-to guides]
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
= Installing {productname} using the {cloudname}
2+
:navtitle: Cloud
3+
:description: Get started with TinyMCE using the Tiny Cloud CDN - the fastest way to get {productname} up and running.
4+
:keywords: tinymce cloud, cdn, cloud hosting
5+
6+
== Quick start
7+
8+
The easiest way to get started with {productname} is using the {cloudname}. Simply include the TinyMCE script in your HTML:
9+
10+
[source,html]
11+
----
12+
<!DOCTYPE html>
13+
<html lang="en">
14+
<head>
15+
<script src="{cdnurl}"></script>
16+
</head>
17+
<body>
18+
<textarea id="mytextarea"></textarea>
19+
<script>
20+
tinymce.init({
21+
selector: '#mytextarea'
22+
});
23+
</script>
24+
</body>
25+
</html>
26+
----
27+
28+
== Framework integrations
29+
30+
Get started with {productname} in your preferred framework:
31+
32+
++++
33+
include::partial$css/installation-cards.css[]
34+
<div class="framework-cards">
35+
<div class="framework-grid">
36+
<a href="https://www.tiny.cloud/docs/tinymce/latest/cloud-quick-start/" class="framework-card-link">
37+
<div class="framework-card">
38+
<div class="framework-icon">⚡</div>
39+
<h3 class="framework-name">Quick start</h3>
40+
</div>
41+
</a>
42+
43+
<a href="https://www.tiny.cloud/docs/tinymce/latest/react-cloud/" class="framework-card-link">
44+
<div class="framework-card">
45+
<div class="framework-icon"><img src="https://www.tiny.cloud/images/homepage/integrations/react-color.svg" alt="React"></div>
46+
<h3 class="framework-name">React</h3>
47+
</div>
48+
</a>
49+
50+
<a href="https://www.tiny.cloud/docs/tinymce/latest/angular-cloud/" class="framework-card-link">
51+
<div class="framework-card">
52+
<div class="framework-icon"><img src="https://www.tiny.cloud/images/homepage/integrations/angular-color.svg" alt="Angular"></div>
53+
<h3 class="framework-name">Angular</h3>
54+
</div>
55+
</a>
56+
57+
<a href="https://www.tiny.cloud/docs/tinymce/latest/vue-cloud/" class="framework-card-link">
58+
<div class="framework-card">
59+
<div class="framework-icon"><img src="https://www.tiny.cloud/images/homepage/integrations/vue-color.svg" alt="Vue"></div>
60+
<h3 class="framework-name">Vue.js</h3>
61+
</div>
62+
</a>
63+
64+
<a href="https://www.tiny.cloud/docs/tinymce/latest/blazor-cloud/" class="framework-card-link">
65+
<div class="framework-card">
66+
<div class="framework-icon"><img src="https://www.tiny.cloud/images/homepage/integrations/blazor-color.svg" alt="Blazor"></div>
67+
<h3 class="framework-name">Blazor</h3>
68+
</div>
69+
</a>
70+
71+
<a href="https://www.tiny.cloud/docs/tinymce/latest/svelte-cloud/" class="framework-card-link">
72+
<div class="framework-card">
73+
<div class="framework-icon"><img src="https://www.tiny.cloud/images/homepage/integrations/svelte-color.svg" alt="Svelte"></div>
74+
<h3 class="framework-name">Svelte</h3>
75+
</div>
76+
</a>
77+
78+
<a href="https://www.tiny.cloud/docs/tinymce/latest/webcomponent-cloud/" class="framework-card-link">
79+
<div class="framework-card">
80+
<div class="framework-icon"><img src="https://www.tiny.cloud/images/homepage/integrations/web-components-color.svg" alt="Web Components"></div>
81+
<h3 class="framework-name">Web Component</h3>
82+
</div>
83+
</a>
84+
85+
<a href="https://www.tiny.cloud/docs/tinymce/latest/jquery-cloud/" class="framework-card-link">
86+
<div class="framework-card">
87+
<div class="framework-icon"><img src="https://www.tiny.cloud/images/homepage/integrations/jquery-color.svg" alt="jQuery"></div>
88+
<h3 class="framework-name">jQuery</h3>
89+
</div>
90+
</a>
91+
92+
<a href="https://www.tiny.cloud/docs/tinymce/latest/bootstrap-cloud/" class="framework-card-link">
93+
<div class="framework-card">
94+
<div class="framework-icon"><img src="https://www.tiny.cloud/images/homepage/integrations/bootstrap-color.svg" alt="Bootstrap"></div>
95+
<h3 class="framework-name">Bootstrap</h3>
96+
</div>
97+
</a>
98+
99+
<a href="https://www.tiny.cloud/docs/tinymce/latest/django-cloud/" class="framework-card-link">
100+
<div class="framework-card">
101+
<div class="framework-icon"><img src="https://www.tiny.cloud/images/homepage/integrations/django-color.svg" alt="Django"></div>
102+
<h3 class="framework-name">Django</h3>
103+
</div>
104+
</a>
105+
106+
<a href="https://www.tiny.cloud/docs/tinymce/latest/laravel-tiny-cloud/" class="framework-card-link">
107+
<div class="framework-card">
108+
<div class="framework-icon"><img src="https://www.tiny.cloud/images/homepage/integrations/laravel-color.svg" alt="Laravel"></div>
109+
<h3 class="framework-name">Laravel</h3>
110+
</div>
111+
</a>
112+
113+
<a href="https://www.tiny.cloud/docs/tinymce/latest/rails-cloud/" class="framework-card-link">
114+
<div class="framework-card">
115+
<div class="framework-icon"><img src="https://www.tiny.cloud/images/homepage/integrations/rails-color.svg" alt="Rails"></div>
116+
<h3 class="framework-name">Ruby on Rails</h3>
117+
</div>
118+
</a>
119+
</div>
120+
</div>
121+
++++
122+
123+
== Benefits of the {cloudname}
124+
125+
Using the {cloudname} provides several advantages:
126+
127+
* **Zero configuration** - No server setup required
128+
* **Always up-to-date** - Access to the latest {productname} features automatically
129+
* **Global CDN** - Fast loading times worldwide
130+
* **Optimized assets** - Automatically minified and optimized for production
131+
* **Premium features** - Access to premium plugins with cloud API key
132+
133+
include::partial$misc/admon-account-creation-and-social-option.adoc[]

0 commit comments

Comments
 (0)