Skip to content
6 changes: 5 additions & 1 deletion modules/ROOT/examples/live-demos/exportword/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ tinymce.init({
left: "1in",
right: "1in"
}
}
},
watermark: {
source: 'http://moxiecode.cachefly.net/tinymce/v9/images/logo.png',
washout: true
},
}
});
14 changes: 14 additions & 0 deletions modules/ROOT/pages/7.7.0-release-notes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,20 @@ include::partial$misc/admon-releasenotes-for-stable.adoc[]

The following premium plugin updates were released alongside {productname} {release-version}.

=== Export to Word

The {productname} {release-version} release includes an accompanying release of the **Export to Word** premium plugin.

**Export to Word** includes the following fix.

==== A document watermark can now be specified for the exported file

Previously, the **Export to Word** premium plugin did not support watermarks, preventing integrators from adding them to exported Word documents.

With the release of {productname} {release-version} watermark functionality has been introduced, enabling watermarks to be included in exported documents.

For information on the **Export to Word** plugin, see: xref:exportword.adoc[Export to Word].

=== Advanced Typography

The {productname} {release-version} release includes an accompanying release of the **Advanced Typography** premium plugin.
Expand Down
2 changes: 2 additions & 0 deletions modules/ROOT/pages/exportword.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ include::partial$configuration/exportword_converter_options.adoc[leveloffset=+1]

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

include::partial$configuration/exportword_watermark.adoc[leveloffset=+1]

== Commands

The {pluginname} plugin provides the following {productname} commands.
Expand Down
23 changes: 23 additions & 0 deletions modules/ROOT/partials/configuration/exportword_watermark.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[[watermark]]
== `watermark`

The `watermark` option provides integrators with a way to include semi-transparent image watermarks on each page of the exported document, which can be useful for branding, copyright protection, or decorative purposes.

*Type:* `+Object+`

=== Example : using `watermark`

[source,js]
----
tinymce.init({
selector: "textarea",
plugins: ['exportword'],
toolbar: 'exportword',
exportword_converter_options: {
watermark: {
source: 'http://moxiecode.cachefly.net/tinymce/v9/images/logo.png',
washout: true,
}
}
});
----