Skip to content

Commit 0687083

Browse files
Merge branch 'feature/7.7.0/DOC-3132' into feature/7.7.0/DOC-3132_TINY-11755
2 parents 8d29ef9 + 59b4285 commit 0687083

File tree

4 files changed

+92
-1
lines changed

4 files changed

+92
-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/7.7.0-release-notes.adoc

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,33 @@ include::partial$misc/admon-releasenotes-for-stable.adoc[]
2424

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

27+
=== Export to PDF
28+
29+
The {productname} {release-version} release includes an accompanying release of the **Export to PDF** premium plugin.
30+
31+
**Export to PDF** Premium plugin includes the following improvement.
32+
33+
==== The `format` property in `exportpdf_converter_options` now accepts lowercase
34+
// #TINY-11722
35+
36+
Previously, the `format` property in `exportpdf_converter_options` only accepted case-sensitive uppercase values, which lead to inconsistencies when generating PDF exports. This improvement ensures that lowercase values are now correctly recognized, making configuration more flexible and reducing potential formatting errors.
37+
38+
For information on the **Export to PDF** plugin, see: xref:exportpdf.adoc[Export to PDF].
39+
40+
=== Export to Word
41+
42+
The {productname} {release-version} release includes an accompanying release of the **Export to Word** premium plugin.
43+
44+
**Export to Word** includes the following fix.
45+
46+
==== A document watermark can now be specified for the exported file
47+
48+
Previously, the **Export to Word** premium plugin did not support watermarks, preventing integrators from adding them to exported Word documents.
49+
50+
With the release of {productname} {release-version} watermark functionality has been introduced, enabling watermarks to be included in exported documents.
51+
52+
For information on the **Export to Word** plugin, see: xref:exportword.adoc[Export to Word].
53+
2754
=== Advanced Typography
2855

2956
The {productname} {release-version} release includes an accompanying release of the **Advanced Typography** premium plugin.
@@ -45,6 +72,13 @@ The {productname} {release-version} release includes an accompanying release of
4572

4673
**Comments** includes the following fixes.
4774

75+
==== Editing a comment and adding a mention to the comment would result in the mention not showing correctly after saving the comment.
76+
// #TINY-11602
77+
78+
Previously, in the **Comments** premium plugin, an issue was identified where mentions were not displayed correctly when editing a comment, adding a mention, and then saving the comment.
79+
80+
{productname} {release-version} resolves this issue by ensuring that newly added mentions to an existing comment are displayed correctly.
81+
4882
==== Pressing Keyboard shorctut `cmd+alt+m` when cursor is on annotated content now opens and focuses the reply textarea.
4983
// #TINY-11321
5084

@@ -53,6 +87,27 @@ Previously, an issue was identified where pressing the keyboard shortcut `cmd-al
5387
{productname} {release-version} fixes this by ensuring that the focus now moves to the reply text area instead of the corresponding comment.
5488
This matches the behavior when the "Add New Comment" button is clicked, resulting in more consistent functionality.
5589

90+
==== Improved visual separation of comments side panel header.
91+
// #TINY-11715
92+
93+
In previous versions of **Comments**, the side panel header blended into the body, resulting in a lack of visual separation. This made the UI appear less polished and dimensional.
94+
95+
{productname} {release-version} improves this by enhancing the side panel header’s visibility, creating a clearer distinction from the body, and refining the overall UI aesthetics.
96+
97+
==== Comment card jumps when editing a large comment in Chrome
98+
// #TINY-11729
99+
100+
Previously, when editing a comment larger than the height of the comments sidebar, the sidebar would briefly jump before returning to its intended position. This caused visual disruptions that impacted the editing experience.
101+
102+
{productname} {release-version} resolves this issue by ensuring the comment sidebar remains stable, preventing unintended jumps when editing large comments.
103+
104+
==== Closing the comment kebab menu with keyboard would result in the editor dispatching a `blur` event.
105+
// #TINY-11172
106+
107+
In previous versions of **Comments**, an issue was identified where the editor would trigger a `blur` event if the comment kebab menu was closed using the `escape` key. This occurred even when the editor still had focus, leading to confusing behavior.
108+
109+
{productname} {release-version} resolves this issue by ensuring that focus is properly managed when closing the kebab menu, rather than relying on the browser. This ensures that the editor does not trigger any `blur` events.
110+
56111
For information on the **Comments** plugin, see: xref:introduction-to-tiny-comments.adoc[Comments].
57112

58113
=== Image Optimizer
@@ -148,6 +203,13 @@ Previously, in {productname}, an issue was identified in which the `semantics` M
148203

149204
In {productname} {release-version}, this issue has been resolved by preserving the `semantics` element whenever the `allow_mathml_annotation_encodings` property is set to a non-empty array. This ensures that valid MathML is generated, improving compatibility with third-party tools and browser rendering.
150205

206+
=== Toolbar groups had both a `title` attribute and a custom tooltip, causing overlapping tooltips
207+
// #TINY-11768
208+
209+
In previous versions of {productname}, hovering over toolbar menu item would display both a custom tooltip and the default browser tooltip. This caused confusing behavior, as the custom tooltip was difficult to read due to the browser tooltip overlapping it.
210+
211+
{productname} {release-version} resolves this issue by replacing the `title` attribute with the `aria-label` attribute for toolbar groupings, preventing the default browser tooltip from appearing.
212+
151213
[[known-issues]]
152214
== Known issues
153215

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 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.
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)