Skip to content

Commit bbf2c71

Browse files
Merge branch 'feature/7.7.0/DOC-3132' into feature/7.7.0/DOC-3132_TINY-11729
2 parents bdf6fba + e25c672 commit bbf2c71

File tree

4 files changed

+119
-11
lines changed

4 files changed

+119
-11
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: 89 additions & 10 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.
@@ -39,6 +66,50 @@ Previously, an issue was identified where `Ukrainian` and `Serbian` were incorre
3966

4067
For information on the **Advanced Typography** plugin, see: xref:advanced-typography.adoc[Advanced Typography].
4168

69+
=== Comments
70+
71+
The {productname} {release-version} release includes an accompanying release of the **Comments** premium plugin.
72+
73+
**Comments** includes the following fixes.
74+
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+
82+
==== Pressing Keyboard shorctut `cmd+alt+m` when cursor is on annotated content now opens and focuses the reply textarea.
83+
// #TINY-11321
84+
85+
Previously, an issue was identified where pressing the keyboard shortcut `cmd-alt-m` on Mac and `ctrl-alt-m` on Windows while the cursor was on annotated content and the comments sidebar was open resulted in the focus shifting to the corresponding comment, which was not the desired behavior.
86+
87+
{productname} {release-version} fixes this by ensuring that the focus now moves to the reply text area instead of the corresponding comment.
88+
This matches the behavior when the "Add New Comment" button is clicked, resulting in more consistent functionality.
89+
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+
111+
For information on the **Comments** plugin, see: xref:introduction-to-tiny-comments.adoc[Comments].
112+
42113
=== Image Optimizer
43114

44115
The {productname} {release-version} release includes an accompanying release of the **Image Optimizer** premium plugin.
@@ -54,22 +125,23 @@ As a result, these extensions were blocked, and users encountered the error mess
54125

55126
{productname} {release-version} resolves this issue by fixing the validation logic to correctly detect the MIME type of uploaded images, ensuring that users can now successfully upload `.jfi` and `.jif` files.
56127

57-
For information on the **Image Optimizer** plugin, see: xref:uploadcare.adoc[Image Optimizer].
128+
==== Dropping files on the placeholder would sometimes insert the image in an incorrect location.
129+
// #TINY-11643
58130

59-
=== Comments
131+
Previously, an issue was identified where the drag-and-drop functionality on an image placeholder in a table would insert the image outside of the table cell.
132+
This resulted in unpredictable behavior when users dragged and dropped an image into the image placeholder.
60133

61-
The {productname} {release-version} release includes an accompanying release of the **Comments** premium plugin.
134+
{productname} {release-version} resolves this issue by making it so that that the image placeholder handles the drop event instead of the editor content element. This improvement provides predictable and consistent drag-and-drop behavior for image placeholders in **Image Optimizer**.
62135

63-
**Comments** includes the following fixes.
136+
==== Some error messages are now more descriptive.
137+
// #TINY-11613
64138

65-
==== Comment card jumps when editing a large comment in Chrome
66-
// #TINY-11729
139+
Previously, error messages were unclear when the `uploadcare_public_key` was not configured with a valid API key.
140+
This caused confusion in identifying the problem during setup.
67141

68-
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.
142+
{productname} {release-version} addresses this by providing a more detailed error message when the `uploadcare_public_key` is not configured.
69143

70-
{productname} {release-version} resolves this issue by ensuring the comment sidebar remains stable, preventing unintended jumps when editing large comments.
71-
72-
For information on the **Comments** plugin, see: xref:introduction-to-tiny-comments.adoc[Comments].
144+
For information on the **Image Optimizer** plugin, see: xref:uploadcare.adoc[Image Optimizer].
73145

74146
[[improvements]]
75147
== Improvements
@@ -124,6 +196,13 @@ the help dialog would not open if the plugin was disabled, leading to confusion.
124196

125197
{productname} {release-version} addresses this issue by ensuring that if the help plugin is disabled, the screen reader announces only "Rich Text Area." If the help plugin is enabled, the screen reader announces "Rich Text Area. Press `ALT-0` for help.".
126198

199+
=== Toolbar groups had both a `title` attribute and a custom tooltip, causing overlapping tooltips
200+
// #TINY-11768
201+
202+
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.
203+
204+
{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.
205+
127206
[[known-issues]]
128207
== Known issues
129208

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)