Skip to content

Commit 564f750

Browse files
abhinavgandhamkemister85soritahengtiny-ben-transpocke
authored
DOC-3132: TinyMCE 7.7.0 Release Documentation and Community Changelog. (#3591)
* DOC-3132: TinyMCE 7.7.0 Release Documentation and Community Changelog. * DOC-3132: Preview Dialog incorrectly opened anchor links in a new tab. (#3593) * DOC-3132: Preview Dialog incorrectly opened anchor links in a new tab. * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-3132: The API was not replacing selected non-editable elements correctly. (#3595) * DOC-3132: Serbian and Ukrainian languages were spelled incorrectly. (#3594) * DOC-3132: Serbian and Ukrainian languages were spelled incorrectly. * DOC-3132: Fixed location of entry. * DOC-3132: Iframe aria text used to suggest to open help dialog even w… (#3596) * DOC-3132: Iframe aria text used to suggest to open help dialog even when the help plugin was not enabled. * Update modules/ROOT/pages/7.7.0-release-notes.adoc * Update modules/ROOT/pages/7.7.0-release-notes.adoc * DOC-3132: Some image file extensions would sometimes be incorrectly considered unsupported. (#3600) * DOC-3132: Pressing Keyboard shorctut when cursor is on annotated content now opens and focuses the reply textarea. (#3603) * DOC-3132: Pressing Keyboard shorctut when cursor is on annotated content now opens and focuses the reply textarea. * DOC-3132: Condensed text. * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-3132: Some error messages are now more descriptive. (#3599) * DOC-3132: Some error messages are now more descriptive. * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-3132: Dropping files on the placeholder would sometimes insert th… (#3598) * DOC-3132: Dropping files on the placeholder would sometimes insert the image in an incorrect location. * DOC-3132: Modified wording * Update 7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * Improved visual separation of comments side panel header. (#3607) * DOC-3132: Toolbar groups had both a attribute and a custom tooltip, … (#3608) * DOC-3132: Toolbar groups had both a attribute and a custom tooltip, causing overlapping tooltips * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-3132: A document watermark can now be specified for the exported file (#3597) * DOC-3132: A document watermark can now be specified for the exported file * DOC-3132: Added the new option to the export to word documentation. * Update modules/ROOT/partials/configuration/exportword_watermark.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> * Update modules/ROOT/partials/configuration/exportword_watermark.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-3132: Editing a comment and adding a mention to the comment would… (#3602) * DOC-3132: Editing a comment and adding a mention to the comment would result in the mention not showing correctly after saving the comment. * DOC-3132: Refined text to be more simple. * DOC-3132: The `format` property in `exportpdf_converter_options` now accepts lowercase (#3616) * DOC-3132: The property in exportpdf_converter_options now accepts lowercase * Update modules/ROOT/pages/7.7.0-release-notes.adoc * DOC-3132: Closing the comment kebab menu with keyboard would result i… (#3604) * DOC-3132: Closing the comment kebab menu with keyboard would result in the editor dispatching a event. * Update modules/ROOT/pages/7.7.0-release-notes.adoc * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-3132: On chrome, comment card would be jumping when editing a ver… (#3605) * DOC-3132: On chrome, comment card would be jumping when editing a very large comment. * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-3132: The `semantics` element in MathML was not properly retained when `annotation` elements was allowed. (#3609) * DOC-3132: The element in MathML was not properly retained when elements was allowed. * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-3132: It was possible to `tab` to a toolbar group that had all childre… (#3611) * DOC-3132: It was possible to to a toolbar group that had all children disabled. * Update modules/ROOT/pages/7.7.0-release-notes.adoc * DOC-3132: Toolbar text field was not properly rendering focus. (#3618) * DOC-3132: Toolbar text field was properly rendering focus. * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Sorita Heng <[email protected]> --------- Co-authored-by: Sorita Heng <[email protected]> * DOC-3132: Editor now dispatches `Change` event after a comment is edited or a… (#3619) * DOC-3132: Editor now dispatches event after a comment is edited or a reply is created. * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-3132: Fixed keyboard navigation for size inputs in context forms. (#3621) * DOC-3132: Fixed keyboard navigation for size inputs in context forms. * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-3132: Added `link_attributes_postprocess` option that allows overriding attributes of a link t… (#3624) * DOC-3132: Added option that allows overriding attributes of a link that would be inserted through the link dialog. * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Sorita Heng <[email protected]> * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> * Update modules/ROOT/partials/configuration/link_attributes_postprocess.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Sorita Heng <[email protected]> Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-3212: add changelog for TinyMCE 7.7.0 release notes. * DOC-3132: The property was not properly removed from the image when converting an image into a captioned image. (#3620) * DOC-3132: Extended the functionality to support the new option in addition to readonly mode. (#3625) * Update modules/ROOT/pages/7.7.0-release-notes.adoc * DOC-3132: Update form validation error message color to be the same a… (#3613) * DOC-3132: Update form validation error message color to be the same as the error text color. * DOC-3132: Linked to WCAG AA website. * DOC-3132: Dialog menu dropdowns now close when a dialog is moved. (#3614) * DOC-3132: Dialog menu dropdowns now close when a dialog is moved * Update modules/ROOT/pages/7.7.0-release-notes.adoc * DOC-3132: New `revisionhistory_allow_restore` option to control restoration of old revisions. (#3615) * DOC-3132: New revisionhistory_allow_restore option to control restoration of old revisions. * Update modules/ROOT/pages/7.7.0-release-notes.adoc * Update modules/ROOT/pages/7.7.0-release-notes.adoc * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: CODE:AG <[email protected]> * Update modules/ROOT/partials/configuration/revisionhistory_allow_restore.adoc Co-authored-by: CODE:AG <[email protected]> * Update modules/ROOT/partials/configuration/revisionhistory_allow_restore.adoc Co-authored-by: tiny-ben-tran <[email protected]> * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: tiny-ben-tran <[email protected]> * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: tiny-ben-tran <[email protected]> * Update modules/ROOT/pages/7.7.0-release-notes.adoc --------- Co-authored-by: CODE:AG <[email protected]> Co-authored-by: tiny-ben-tran <[email protected]> * DOC-3132: Keyboard navigation would get stuck on the 'more' toolbar button. (#3627) * DOC-3132: Expanding selection to word didn't work inside inline editing host elements. (#3626) * DOC-3132: Expanding selection to word didn't work inside inline editing host elements. * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: spocke <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> Co-authored-by: spocke <[email protected]> * DOC-3132: Improved visual indication of keyboard focus for a comment a… (#3623) * DOC-3132: Impoved visual indication of keyboard focus for a comment annotation when there is an image inside. * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Sorita Heng <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> Co-authored-by: Sorita Heng <[email protected]> * DOC-3132: Not specifying a notification type (or specifying incorrect one) now defaults to 'info' (#3622) * DOC-3132: Not specifying a notification type (or specifying incorrect one) now defaults to 'info'. * Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-3132: The cursor was sometimes incorrectly placed after opening the source code editor (#3617) * DOC-3132: The cursor was sometimes incorrectly placed after opening source code editor. * Update modules/ROOT/pages/7.7.0-release-notes.adoc * Update modules/ROOT/pages/7.7.0-release-notes.adoc * Moved entry to additions. * DOC-3132: add known issues, and support version dates to EOS table. * DOC-2312: update services for tinymcespellchecker for TinyMCE 7.7.0. (#3628) * DOC-3132: Fixed titles and added release date. * DOC-3132: Adjusted layout of entries to fit changelog. * DOC-3132: Context toolbar inputs had incorrect margins. (#3612) * DOC-3132: Part of the placeholder border was not visible during loading. (#3610) * DOC-3132: Moved entry into core bug fix section as per changelog. * DOC-3132: Fixed up heading. * Update modules/ROOT/partials/configuration/exportword_watermark.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> * Update modules/ROOT/pages/exportword.adoc * Update modules/ROOT/partials/configuration/exportword_watermark.adoc * DOC-3132: Removed entry that was not in changelog. * DOC-3132: revert changes. --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> Co-authored-by: Sorita Heng <[email protected]> Co-authored-by: tiny-ben-tran <[email protected]> Co-authored-by: spocke <[email protected]>
1 parent f6a849d commit 564f750

File tree

12 files changed

+455
-27
lines changed

12 files changed

+455
-27
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/nav.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@
426426
**** xref:7.7.0-release-notes.adoc#improvements[Improvements]
427427
**** xref:7.7.0-release-notes.adoc#additions[Additions]
428428
**** xref:7.7.0-release-notes.adoc#bug-fixes[Bug fixes]
429-
**** xref:7.7.0-release-notes.adoc#security-fixes[Security fixes]
429+
**** xref:7.7.0-release-notes.adoc#known-issues[Known issues]
430430
*** {productname} 7.6.1
431431
**** xref:7.6.1-release-notes.adoc#overview[Overview]
432432
**** xref:7.6.1-release-notes.adoc#accompanying-premium-self-hosted-server-side-component-changes[Accompanying Premium self-hosted server-side component changes]

modules/ROOT/pages/7.7.0-release-notes.adoc

Lines changed: 320 additions & 24 deletions
Large diffs are not rendered by default.

modules/ROOT/pages/changelog.adoc

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,52 @@
44

55
NOTE: This is the {productname} Community version changelog. For information about the latest {cloudname} or {enterpriseversion} Release, see: xref:release-notes.adoc[{productname} Release Notes].
66

7+
== xref:7.7.0-release-notes.adoc[7.7.0 - 2025-02-19]
8+
9+
=== Added
10+
* `link_attributes_postprocess` option that allows overriding attributes of a link that would be inserted through the link dialog.
11+
// #TINY-11707
12+
13+
=== Improved
14+
* Improved visual indication of a keyboard focus for a comment annotation when there is an image inside.
15+
// #TINY-11596
16+
* Not specifying a notification type (or specifying incorrect one) now defaults to 'info'.
17+
// #TINY-11661
18+
* Improved visual separation of comments side panel header.
19+
// #TINY-11715
20+
21+
=== Changed
22+
- Changed the `link` plugin behavior to move the cursor behind a link when inserted or edited via the UI. Patch contributed by Philipp91.
23+
// ##GH-9998
24+
25+
=== Fixed
26+
* Keyboard navigation for size inputs in context forms.
27+
// #TINY-11394
28+
* Keyboard navigation for context form sliders.
29+
// #TINY-11482
30+
* The `insertContent` API was not replacing selected non-editable elements correctly.
31+
// #TINY-11714
32+
* Context toolbar inputs had incorrect margins.
33+
// #TINY-11624
34+
* Iframe aria text used to suggest to open help dialog even when the help plugin was not enabled.
35+
// #TINY-11672
36+
* Preview Dialog incorrectly opened anchor links in a new tab.
37+
// #TINY-11740
38+
* The `float` property was not properly removed on the image when converting a image into a captioned image.
39+
// #TINY-11670
40+
* Expanding selection to a word didn't work inside inline editing host elements.
41+
// #TINY-11304
42+
* The `semantics` element in MathML was not properly retained when `annotation` elements was allowed.
43+
// #TINY-11755
44+
* It was possible to tab to a toolbar group that had all children disabled.
45+
// #TINY-11665
46+
* Keyboard navigation would get stuck on the 'more' toolbar button.
47+
// #TINY-11762
48+
* Toolbar groups had both a `title` attribute and a custom tooltip, causing overlapping tooltips.
49+
// #TINY-11768
50+
* Toolbar text field was properly rendering focus.
51+
// #TINY-11658
52+
753
== xref:7.6.1-release-notes.adoc[7.6.1 - 2025-01-22]
854

955
=== Fixed

modules/ROOT/pages/cloud-troubleshooting.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,4 +175,6 @@ This message is shown when {productname} is loaded from a domain that has not be
175175

176176
==== Solution
177177

178-
Please request that your admin add this domain to the approved domains in the Customer Portal. For more information see xref:cloud-troubleshooting.adoc#domain-not-registered[Domain not registered]
178+
Please request that your admin add this domain to the approved domains in the Customer Portal. For more information see xref:cloud-troubleshooting.adoc#domain-not-registered[Domain not registered]
179+
180+
NOTE: From xref:7.6.0-release-notes.adoc[{productname} 7.6.0] onwards, the editor uses disabled mode instead of read-only mode.

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.

modules/ROOT/pages/link.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ include::partial$configuration/link_rel_list.adoc[leveloffset=+1]
4646

4747
include::partial$configuration/link_target_list.adoc[leveloffset=+1]
4848

49+
include::partial$configuration/link_attributes_postprocess.adoc[leveloffset=+1]
50+
4951
include::partial$misc/plugin-toolbar-button-id-boilerplate.adoc[]
5052

5153
include::partial$misc/plugin-menu-item-id-boilerplate.adoc[]

modules/ROOT/pages/revisionhistory.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ include::partial$configuration/revisionhistory_fetch.adoc[leveloffset=+1]
109109

110110
include::partial$configuration/revisionhistory_fetch_revision.adoc[leveloffset=+1]
111111

112+
include::partial$configuration/revisionhistory_allow_restore.adoc[leveloffset=+1]
113+
112114
include::partial$configuration/revisionhistory_author.adoc[leveloffset=+1]
113115

114116
include::partial$configuration/revisionhistory_display_author.adoc[leveloffset=+1]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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+
----
24+
25+
[NOTE]
26+
The `exportword_converter_options` is required to use the watermark feature.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[[link_attributes_postprocess]]
2+
== `+link_attributes_postprocess+`
3+
4+
This option allows overriding attributes of an inserted link.
5+
6+
*Type:* `+Function+`
7+
8+
*Default value:* `+undefined+`
9+
10+
=== Example: using `+link_attributes_postprocess+`
11+
12+
[source,js]
13+
----
14+
tinymce.init({
15+
selector: 'textarea', // change this value according to your HTML
16+
plugins: 'link',
17+
toolbar: 'link',
18+
link_attributes_postprocess: (attrs) => {
19+
console.log(attrs);
20+
if (attrs.rel) {
21+
attrs.rel += 'noreferrer';
22+
}
23+
}
24+
});
25+
26+
----

0 commit comments

Comments
 (0)