File tree Expand file tree Collapse file tree 3 files changed +30
-1
lines changed
examples/live-demos/exportword Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Original file line number Diff line number Diff 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} ) ;
Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ include::partial$configuration/exportword_converter_options.adoc[leveloffset=+1]
7777
7878include::partial$configuration/exportword_converter_style.adoc[leveloffset=+1]
7979
80+ include::partial$configuration/exportword_watermark.adoc[leveloffset=+1]
81+
8082== Commands
8183
8284The {pluginname} plugin provides the following {productname} commands.
Original file line number Diff line number Diff line change 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+ ----
You can’t perform that action at this time.
0 commit comments