Skip to content

Commit 0a9023a

Browse files
committed
DOC-2498: Update default values in plugin.adoc pages.
1 parent b517d51 commit 0a9023a

File tree

3 files changed

+43
-4
lines changed

3 files changed

+43
-4
lines changed

modules/ROOT/partials/configuration/exportpdf.adoc

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,22 @@ tinymce.init({
2828

2929
This option allows the editor to download a PDF document containing its content, along with the specified options defined in the `exportpdf_converter_options`.
3030

31-
*Type:* `+Object+`
31+
**Type:** `+Object+`
3232

33-
*Default value:* `{}`
33+
[NOTE]
34+
As of {productname} 7.5.0, the default value of the `exportpdf_converter_options` setting has been updated to the following:
35+
36+
.**Default value:**
37+
[source,js]
38+
----
39+
exportpdf_converter_options: {
40+
format: 'Letter',
41+
margin_top: '1in',
42+
margin_right: '1in',
43+
margin_bottom: '1in',
44+
margin_left: '1in'
45+
}
46+
----
3447

3548
=== Example: using `exportpdf_converter_options`
3649

modules/ROOT/partials/configuration/exportword.adoc

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,20 @@ tinymce.init({
3131

3232
The `exportword_converter_options` option, is used to specify and configure various options related to the process of converting and exporting content from the editor to `.docx` Word file.
3333

34-
*Type:* `+Object+`
34+
**Type:** `+Object+`
3535

36-
*Default value:* `{}`
36+
[NOTE]
37+
As of {productname} 7.5.0, the default value of the `exportword_converter_options` setting has been updated to the following:
38+
39+
.**Default value:**
40+
[source,js]
41+
----
42+
exportword_converter_options: {
43+
document: {
44+
size: 'letter'
45+
}
46+
}
47+
----
3748

3849
=== Example: using `exportword_converter_options`
3950

modules/ROOT/partials/configuration/importword-converter-options.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@
33

44
**Type:** `String`
55

6+
[NOTE]
7+
As of {productname} 7.5.0, the default value of the `importword_converter_options` setting has been updated to the following:
8+
9+
.**Default value:**
10+
[source,js]
11+
----
12+
importword_converter_options: {
13+
formatting: {
14+
styles: 'inline',
15+
resets: 'inline',
16+
defaults: 'inline',
17+
}
18+
}
19+
----
20+
621
The `importword_converter_options` setting allows you to customize the behavior of the {pluginname} plugin when converting Word documents to HTML.
722

823
.Example: using `importword_converter_options`

0 commit comments

Comments
 (0)