Skip to content

Commit 91bc05d

Browse files
DOC-3132: Added the new option to the export to word documentation.
1 parent e3536ce commit 91bc05d

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

modules/ROOT/examples/live-demos/exportword/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ tinymce.init({
1616
left: "1in",
1717
right: "1in"
1818
}
19-
}
19+
},
20+
watermark: {
21+
source: 'http://moxiecode.cachefly.net/tinymce/v9/images/logo.png',
22+
washout: true
23+
},
2024
}
2125
});

modules/ROOT/pages/exportword.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ include::partial$configuration/exportword_converter_options.adoc[leveloffset=+1]
7777

7878
include::partial$configuration/exportword_converter_style.adoc[leveloffset=+1]
7979

80+
include::partial$configuration/exportword_watermark.adoc[leveloffset=+1]
81+
8082
== Commands
8183

8284
The {pluginname} plugin provides the following {productname} commands.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[[watermark]]
2+
== `watermark`
3+
4+
The `watermark` option allows integrators to add watermarks to their exported word documents.
5+
6+
*Type:* `+Object+`
7+
8+
=== Example : using `watermark`
9+
10+
[source,js]
11+
----
12+
tinymce.init({
13+
selector: "textarea",
14+
plugins: ['exportword'],
15+
toolbar: 'exportword',
16+
exportword_converter_options: {
17+
watermark: {
18+
source: 'http://moxiecode.cachefly.net/tinymce/v9/images/logo.png',
19+
washout: true,
20+
}
21+
}
22+
});
23+
----

0 commit comments

Comments
 (0)