Skip to content

Commit 23e91b8

Browse files
committed
DOC-3209: Update plugin name, file-names and improve examples.
1 parent 5027e07 commit 23e91b8

18 files changed

+142
-74
lines changed
Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
tinymce.init({
2-
selector: 'textarea#fullpage',
2+
selector: 'textarea#fullpagehtml',
33
height: '800px',
44
plugins: [
5-
"fullpage", "advlist", "anchor", "autolink", "charmap", "code", "fullscreen",
5+
"fullpagehtml", "advlist", "anchor", "autolink", "charmap", "code", "fullscreen",
66
"help", "image", "insertdatetime", "link", "lists", "media",
77
"preview", "searchreplace", "table", "visualblocks",
88
],
99
menubar: 'file',
10-
toolbar: "undo redo | fullpage | styles | bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",
11-
// Full Page Plugin Configuration Options
12-
fullpage_default_doctype: '<!DOCTYPE html>', // Has default in source code
13-
fullpage_default_title: 'Full Page Plugin Demo Document', // No default in source code
14-
fullpage_default_encoding: 'UTF-8', // No default in source code
15-
fullpage_default_body_style: 'margin: 20px; padding: 15px; font-family: Georgia, Times, serif; font-size: 16px; color: #2c3e50;' // No default in source code
10+
toolbar: "undo redo | fullpagehtml | styles | bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",
11+
// Full Page HTML Plugin Configuration Options
12+
fullpagehtml_default_doctype: '<!DOCTYPE html>',
13+
fullpagehtml_default_title: 'Full Page HTML Plugin Demo Document',
14+
fullpagehtml_default_encoding: 'UTF-8',
15+
fullpagehtml_default_body_style: 'margin: 20px; padding: 15px; font-family: Georgia, Times, serif; font-size: 16px; color: #2c3e50;',
16+
fullpagehtml_hide_in_source_view: false // Show full page HTML in source view
1617
});
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<textarea id="fullpage">
2-
<h1>Full Page Plugin Demo</h1>
1+
<textarea id="fullpagehtml">
2+
<h1>Full Page HTML Plugin Demo</h1>
33
</textarea>

modules/ROOT/nav.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
**** JWT Authentication
316316
***** xref:export-to-word-with-jwt-authentication-nodejs.adoc[Node.js]
317317
***** xref:export-to-word-with-jwt-authentication-php.adoc[PHP]
318-
*** xref:fullpage.adoc[Full Page]
318+
*** xref:fullpagehtml.adoc[Full Page HTML]
319319
*** xref:footnotes.adoc[Footnotes]
320320
*** xref:formatpainter.adoc[Format Painter]
321321
*** xref:importword.adoc[Import from Word]

modules/ROOT/pages/available-menu-items.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ include::partial$misc/plugin-menu-item-id-boilerplate.adoc[]
101101
include::partial$misc/plugin-menu-item-id-boilerplate.adoc[]
102102

103103
:plugincategory: premium
104-
:pluginname: Full Page
105-
:plugincode: fullpage
106-
:pluginpage: fullpage.adoc
104+
:pluginname: Full Page HTML
105+
:plugincode: fullpagehtml
106+
:pluginpage: fullpagehtml.adoc
107107
include::partial$misc/plugin-menu-item-id-boilerplate.adoc[]
108108

109109
:plugincategory: premium

modules/ROOT/pages/available-toolbar-buttons.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ include::partial$misc/plugin-toolbar-button-id-boilerplate.adoc[]
113113
include::partial$misc/plugin-toolbar-button-id-boilerplate.adoc[]
114114

115115
:plugincategory: premium
116-
:pluginname: Full Page
117-
:plugincode: fullpage
118-
:pluginpage: fullpage.adoc
116+
:pluginname: Full Page HTML
117+
:plugincode: fullpagehtml
118+
:pluginpage: fullpagehtml.adoc
119119
include::partial$misc/plugin-toolbar-button-id-boilerplate.adoc[]
120120

121121
:plugincategory: premium
Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
= Full Page Plugin
2-
:navtitle: Full Page
1+
= Full Page HTML Plugin
2+
:navtitle: Full Page HTML
33
:description: Edit metadata and document properties including title, keywords, and description via a dialog box, with HTML structure exposure in source code view.
44
:description_short: Edit document metadata and properties with dialog interface and source code exposure.
5-
:keywords: full page, metadata, document properties, title, keywords, description, HTML structure, source code
6-
:pluginname: Full Page
7-
:plugincode: fullpage
5+
:keywords: full page html, metadata, document properties, title, keywords, description, HTML structure, source code
6+
:pluginname: Full Page HTML
7+
:plugincode: fullpagehtml
88
:plugincategory: premium
99

1010
include::partial$misc/admon-premium-plugin.adoc[]
@@ -27,28 +27,36 @@ For example:
2727
----
2828
tinymce.init({
2929
selector: 'textarea', // change this value according to your HTML
30-
plugins: 'fullpage',
31-
toolbar: 'fullpage',
32-
fullpage_default_doctype: '<!DOCTYPE html>'
30+
plugins: 'fullpagehtml',
31+
toolbar: 'fullpagehtml',
32+
fullpagehtml_default_doctype: '<!DOCTYPE html>'
3333
});
3434
----
3535

3636
== Options
3737

3838
The following configuration options affect the behavior of the {pluginname} plugin.
3939

40-
include::partial$configuration/fullpage-default-doctype.adoc[leveloffset=+1]
40+
include::partial$configuration/fullpagehtml-default-doctype.adoc[leveloffset=+1]
4141

42-
include::partial$configuration/fullpage-default-title.adoc[leveloffset=+1]
42+
include::partial$configuration/fullpagehtml-default-title.adoc[leveloffset=+1]
4343

44-
include::partial$configuration/fullpage-default-encoding.adoc[leveloffset=+1]
44+
include::partial$configuration/fullpagehtml-default-encoding.adoc[leveloffset=+1]
4545

46-
include::partial$configuration/fullpage-default-body-style.adoc[leveloffset=+1]
46+
include::partial$configuration/fullpagehtml-default-body-style.adoc[leveloffset=+1]
47+
48+
include::partial$configuration/fullpagehtml-hide-in-source-view.adoc[leveloffset=+1]
4749

4850
include::partial$misc/plugin-toolbar-button-id-boilerplate.adoc[]
4951

5052
include::partial$toolbar-button-ids/{plugincode}-toolbar-buttons.adoc[leveloffset=+1]
5153

5254
include::partial$misc/plugin-menu-item-id-boilerplate.adoc[]
5355

54-
include::partial$menu-item-ids/{plugincode}-menu-items.adoc[leveloffset=+1]
56+
include::partial$menu-item-ids/{plugincode}-menu-items.adoc[leveloffset=+1]
57+
58+
== Commands
59+
60+
The {pluginname} plugin provides the following {productname} command.
61+
62+
include::partial$commands/fullpagehtml-cmds.adoc[leveloffset=+1]

modules/ROOT/pages/how-to-guides.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ List of common editor events
9393

9494
a|
9595
[.lead]
96-
xref:fullpage.adoc[Full Page Plugin]
96+
xref:fullpagehtml.adoc[Full Page HTML Plugin]
9797

9898
Edit document metadata and properties including title, keywords, and description via dialog interface.
9999

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[cols="1,3",options="header"]
2+
|===
3+
|Command |Description
4+
|mceFullPageHtmlProperties |Opens the Full Page HTML dialog to edit document metadata and properties including title, keywords, description, and HTML structure settings.
5+
|===
6+
7+
.Example
8+
[source,js]
9+
----
10+
tinymce.activeEditor.execCommand('mceFullPageHtmlProperties');
11+
----

modules/ROOT/partials/configuration/fullpage-default-body-style.adoc

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[[fullpagehtml-default-body-style]]
2+
== `+fullpagehtml_default_body_style+`
3+
4+
This option enables you to specify the default body style for the output HTML.
5+
6+
*Type:* `+String+`
7+
8+
*Possible values:* Any string value representing valid CSS styles
9+
10+
*Default value:* No default value (empty string)
11+
12+
=== Example: using `+fullpagehtml_default_body_style+`
13+
14+
[source,js]
15+
----
16+
tinymce.init({
17+
selector: 'textarea',
18+
plugins: 'fullpagehtml',
19+
fullpagehtml_default_body_style: 'margin: 20px; padding: 10px; font-family: Arial, sans-serif;'
20+
});
21+
----

0 commit comments

Comments
 (0)