diff --git a/modules/ROOT/examples/live-demos/exportword/index.js b/modules/ROOT/examples/live-demos/exportword/index.js index c2dac8038c..8231df6657 100644 --- a/modules/ROOT/examples/live-demos/exportword/index.js +++ b/modules/ROOT/examples/live-demos/exportword/index.js @@ -16,6 +16,10 @@ tinymce.init({ left: "1in", right: "1in" } - } + }, + watermark: { + source: 'http://moxiecode.cachefly.net/tinymce/v9/images/logo.png', + washout: true + }, } }); diff --git a/modules/ROOT/pages/7.7.0-release-notes.adoc b/modules/ROOT/pages/7.7.0-release-notes.adoc index 76307c5920..eae2603d9e 100644 --- a/modules/ROOT/pages/7.7.0-release-notes.adoc +++ b/modules/ROOT/pages/7.7.0-release-notes.adoc @@ -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. diff --git a/modules/ROOT/pages/exportword.adoc b/modules/ROOT/pages/exportword.adoc index f633967941..683f32eec9 100644 --- a/modules/ROOT/pages/exportword.adoc +++ b/modules/ROOT/pages/exportword.adoc @@ -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. diff --git a/modules/ROOT/partials/configuration/exportword_watermark.adoc b/modules/ROOT/partials/configuration/exportword_watermark.adoc new file mode 100644 index 0000000000..c8d2dcfa17 --- /dev/null +++ b/modules/ROOT/partials/configuration/exportword_watermark.adoc @@ -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, + } + } +}); +---- \ No newline at end of file