Skip to content

Commit 8f11b2d

Browse files
committed
DOC-3209: Updated live-demo and fix incorrect file name causing demo to fail.
1 parent 8f16c7e commit 8f11b2d

File tree

4 files changed

+23
-6
lines changed

4 files changed

+23
-6
lines changed

antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ asciidoc:
1010
companyurl: https://www.tiny.cloud
1111
cdnurl: https://cdn.tiny.cloud/1/no-api-key/tinymce/8/tinymce.min.js
1212
tdcdnurl: https://cdn.tiny.cloud/1/_your_api_key_/tinydrive/8/tinydrive.min.js
13-
tinymce_live_demo_url: https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinymce/8/tinymce.min.js
13+
tinymce_live_demo_url: https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinymce/8-dev/tinymce.min.js
1414
tinydrive_live_demo_url: https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinydrive/8/tinydrive.min.js
1515
webcomponent_url: https://cdn.jsdelivr.net/npm/@tinymce/tinymce-webcomponent/dist/tinymce-webcomponent.min.js
1616
jquery_url: https://cdn.jsdelivr.net/npm/@tinymce/tinymce-jquery@2/dist/tinymce-jquery.min.js

modules/ROOT/examples/live-demos/fullpage/index.html

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<textarea id="fullpagehtml">
2+
<h1>Welcome to Full Page HTML Editing</h1>
3+
<p>This demo demonstrates the capabilities of the <span class="highlight">Full Page HTML plugin</span>. You can:</p>
4+
<ul>
5+
<li>Edit document metadata including title, description, and keywords by clicking the <strong>Full Page HTML</strong> button in the toolbar</li>
6+
<li>Modify HTML document structure and DOCTYPE</li>
7+
<li>Customize body styles and document properties</li>
8+
<li>View and edit the complete HTML structure in source code view or preview plugin under <strong>File</strong> in the menubar</li>
9+
</ul>
10+
<h2>Getting Started</h2>
11+
<p>Click the <strong>Full Page HTML</strong> button in the toolbar to open the document properties dialog. From there, you can modify:</p>
12+
<ul>
13+
<li><strong>Document Title:</strong> Change the page title that appears in browser tabs</li>
14+
<li><strong>Keywords:</strong> Add SEO keywords for search engines</li>
15+
<li><strong>Description:</strong> Set the meta description for search results</li>
16+
<li><strong>Body Style:</strong> Apply custom CSS styles to the document body</li>
17+
<li><strong>HTML Structure:</strong> Modify DOCTYPE and encoding settings</li>
18+
</ul>
19+
<p>Try editing this content and then use the Full Page HTML button to see how the plugin manages the complete document structure!</p>
20+
<p>To view the modified changes open preview which can be found under <strong>File</strong> in the menubar</p>
21+
</textarea>

modules/ROOT/examples/live-demos/fullpage/demo.js renamed to modules/ROOT/examples/live-demos/fullpagehtml/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ tinymce.init({
66
"help", "image", "insertdatetime", "link", "lists", "media",
77
"preview", "searchreplace", "table", "visualblocks",
88
],
9-
menubar: 'file',
10-
toolbar: "undo redo | fullpagehtml | styles | bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",
9+
toolbar: "fullpagehtml | undo redo | styles | bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",
1110
// Full Page HTML Plugin Configuration Options
1211
fullpagehtml_default_doctype: '<!DOCTYPE html>',
1312
fullpagehtml_default_title: 'Full Page HTML Plugin Demo Document',

0 commit comments

Comments
 (0)