From 3ee30424d49fa4010e5d32cd60e577e05929c698 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Tue, 19 Aug 2025 15:32:42 +1000 Subject: [PATCH 01/33] DOC-3209: TinyMCE 8.1.0 Release Documentation and Community Changelog. --- modules/ROOT/pages/8.1.0-release-notes.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/8.1.0-release-notes.adoc b/modules/ROOT/pages/8.1.0-release-notes.adoc index b4887fd8c8..3e7a6181b4 100644 --- a/modules/ROOT/pages/8.1.0-release-notes.adoc +++ b/modules/ROOT/pages/8.1.0-release-notes.adoc @@ -2,7 +2,7 @@ :release-version: 8.1 :navtitle: {productname} {release-version} :description: Release notes for {productname} {release-version} -:keywords: releasenotes, new, changes, bugfixes +:keywords: releasenotes, new, changes, bugfixes, new features, improvements, additions, changes, removals, security fixes, deprecated, known issues :page-toclevels: 1 include::partial$misc/admon-releasenotes-for-stable.adoc[] From 942ba6479d476c42926e83b727f85fbd751f13a7 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Tue, 19 Aug 2025 15:35:47 +1000 Subject: [PATCH 02/33] DOC-3209: Add placeholder for changelog. --- modules/ROOT/pages/changelog.adoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/ROOT/pages/changelog.adoc b/modules/ROOT/pages/changelog.adoc index 8ad13c8708..69f64ca883 100644 --- a/modules/ROOT/pages/changelog.adoc +++ b/modules/ROOT/pages/changelog.adoc @@ -5,6 +5,10 @@ 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]. +== xref:8.1.0-release-notes.adoc[8.1.0 - 2025-09-10] + +//TODO + == xref:8.0.2-release-notes.adoc[8.0.2 - 2025-08-14] [NOTE] From 5076d1dc48eda72764a0b89e43f69f7206cc9209 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 15 Sep 2025 08:32:09 +1000 Subject: [PATCH 03/33] DOC-3209: Added keyboard navigation to the Suggested Edits plugin. (#3855) --- modules/ROOT/pages/8.1.0-release-notes.adoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/ROOT/pages/8.1.0-release-notes.adoc b/modules/ROOT/pages/8.1.0-release-notes.adoc index 3e7a6181b4..1880ed98f7 100644 --- a/modules/ROOT/pages/8.1.0-release-notes.adoc +++ b/modules/ROOT/pages/8.1.0-release-notes.adoc @@ -54,6 +54,19 @@ The following premium plugin updates were released alongside {productname} {rele // For information on the **** plugin, see: xref:.adoc[]. +=== Suggested Edits + +The {productname} {release-version} release includes an accompanying release of the **Suggested Edits** premium plugin. + +**Suggested Edits** includes the following improvement. + +==== Added keyboard navigation to the Suggested Edits plugin +// #TINY-11452 + +The initial release of the Suggested Edits plugin did not support keyboard navigation, limiting accessibility for users who rely on keyboard-based interactions. This restriction made it difficult to move through and interact with the suggested edits sidebar and cards without using a mouse. To improve usability and accessibility, keyboard navigation has been implemented in the Suggested Edits plugin. Users can now efficiently navigate and interact with the plugin using the keyboard. + +For information on the **Suggested Edits** plugin, see: xref:suggestededits.adoc[Suggested Edits]. + [[improvements]] == Improvements From 0a3aba012b01daad3f76e8ddf2b9dc4741ec0327 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 15 Sep 2025 08:33:43 +1000 Subject: [PATCH 04/33] DOC-3209: Cursor movement did not operate correctly after a figure was selected. (#3849) --- modules/ROOT/pages/8.1.0-release-notes.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/ROOT/pages/8.1.0-release-notes.adoc b/modules/ROOT/pages/8.1.0-release-notes.adoc index 1880ed98f7..9f9fbc4a0f 100644 --- a/modules/ROOT/pages/8.1.0-release-notes.adoc +++ b/modules/ROOT/pages/8.1.0-release-notes.adoc @@ -122,6 +122,13 @@ For information on the **Suggested Edits** plugin, see: xref:suggestededits.adoc // CCFR here. +=== Cursor movement did not operate correctly after a `figure` was selected +// #TINY-12458 + +In previous versions of {productname}, using the TAB key to move focus into a `figcaption` element after selecting a `figure` caused the editor to enter a broken state where the caret was displayed inside the figcaption but typing did not produce any visible content. This issue prevented users from editing figcaptions using only the keyboard, forcing them to rely on a mouse or other pointing device to make changes. + +In {productname} {release-version}, this bug has been fixed, ensuring that figcaptions can now be edited seamlessly with keyboard navigation alone, improving accessibility and overall editing efficiency. + [[security-fixes]] == Security fixes From 92de1739616d5d5800f0dbf1e36e23aca2fdc9af Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 15 Sep 2025 08:34:58 +1000 Subject: [PATCH 05/33] DOC-3209: AI Assistant plugin dialog preview now respects the `content_security_policy` editor option (#3854) * DOC-3209: AI Assistant plugin dialog preview now respects the content_security_policy editor option. * Update modules/ROOT/pages/8.1.0-release-notes.adoc Co-authored-by: Mitchell Crompton --------- Co-authored-by: Mitchell Crompton --- modules/ROOT/pages/8.1.0-release-notes.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/ROOT/pages/8.1.0-release-notes.adoc b/modules/ROOT/pages/8.1.0-release-notes.adoc index 9f9fbc4a0f..2b18a0f50b 100644 --- a/modules/ROOT/pages/8.1.0-release-notes.adoc +++ b/modules/ROOT/pages/8.1.0-release-notes.adoc @@ -54,6 +54,21 @@ The following premium plugin updates were released alongside {productname} {rele // For information on the **** plugin, see: xref:.adoc[]. +=== AI Assistant + +The {productname} {release-version} release includes an accompanying release of the **AI Assistant** premium plugin. + +**AI Assistant** includes the following fix. + +==== AI Assistant plugin dialog preview now respects the `content_security_policy` editor option +// TINY-12800 + +Previously, the AI Assistant plugin dialog preview did not adhere to the xref:tinymce-and-csp.adoc#content_security_policy[content_security_policy] editor option, resulting in limited control over the loading of external resources such as images. + +In {productname} {release-version}, the dialog preview now applies the configured content security policy when provided, ensuring that external resources are restricted according to the editor's security settings. This improvement enhances consistency, strengthens security, and aligns the plugin with user-defined policies in {productname}. + +For information on the **AI Assistant** plugin, see: xref:ai.adoc[AI Assistant], or for information on the `+content_security_policy+` option see xref:tinymce-and-csp.adoc#content_security_policy[Content Security Policy]. + === Suggested Edits The {productname} {release-version} release includes an accompanying release of the **Suggested Edits** premium plugin. From 4d07ec427ad216a6a569d5260bfe6c9ab5ef79a2 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 15 Sep 2025 08:41:07 +1000 Subject: [PATCH 06/33] =?UTF-8?q?DOC-3209:=20Users=20without=20avatars=20n?= =?UTF-8?q?ow=20display=20avatar=20placeholders=20in=20th=E2=80=A6=20(#385?= =?UTF-8?q?3)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * DOC-3209: Users without avatars now display avatar placeholders in the mentions dropdown. * DOC-3209: Copy edits. --- modules/ROOT/pages/8.1.0-release-notes.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/ROOT/pages/8.1.0-release-notes.adoc b/modules/ROOT/pages/8.1.0-release-notes.adoc index 2b18a0f50b..59e1d36762 100644 --- a/modules/ROOT/pages/8.1.0-release-notes.adoc +++ b/modules/ROOT/pages/8.1.0-release-notes.adoc @@ -54,6 +54,21 @@ The following premium plugin updates were released alongside {productname} {rele // For information on the **** plugin, see: xref:.adoc[]. +=== Mentions + +The {productname} {release-version} release includes an accompanying release of the **Mentions** premium plugin. + +**Mentions** Premium plugin includes the following improvement. + +==== Users without avatars now display avatar placeholders in the mentions dropdown +// #TINY-12473 + +Previously, the mentions dropdown did not properly handle cases where users lacked profile avatars, resulting in a visually inconsistent and unclear user interface. This impacted usability by making it harder to distinguish between users without avatars and those with incomplete or broken profile information. + +In {productname} {release-version}, this issue has been addressed. Now, {productname} provides a default avatar placeholder for users without avatars, ensuring a consistent and polished experience when using the mentions dropdown. + +For information on the **Mentions** plugin, see: xref:mentions.adoc[Mentions]. + === AI Assistant The {productname} {release-version} release includes an accompanying release of the **AI Assistant** premium plugin. From 3f53baa156f8131a46169fb770e8d9df941b0a01 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 15 Sep 2025 10:01:02 +1000 Subject: [PATCH 07/33] DOC-3209: Default avatars generated inconsistently. (#3852) --- modules/ROOT/pages/8.1.0-release-notes.adoc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/modules/ROOT/pages/8.1.0-release-notes.adoc b/modules/ROOT/pages/8.1.0-release-notes.adoc index 59e1d36762..d5177a731d 100644 --- a/modules/ROOT/pages/8.1.0-release-notes.adoc +++ b/modules/ROOT/pages/8.1.0-release-notes.adoc @@ -54,6 +54,22 @@ The following premium plugin updates were released alongside {productname} {rele // For information on the **** plugin, see: xref:.adoc[]. +=== Comments + +The {productname} {release-version} release includes an accompanying release of the **Comments** premium plugin. + +**Comments** Premium plugin includes the following fixes and improvement. + +==== Default avatars generated inconsistently +// The same user avatar was generated for all users without an avatar in the mentions dropdown. +// The same user could receive two different default avatars. +// Default avatars are now generated with a consistent color based on the user id. +// #TINY-12526 #TINY-12532 #TINY-12633 + +Previously, {productname} generated default avatars inconsistently in the Comments plugin. Users without avatars saw the same placeholder avatar in the mentions dropdown, while the same individual could also receive different default avatars in other contexts. This inconsistency made it difficult to distinguish users and, in some cases, created confusion by making a single user appear as two different people. In {release-version}, this issue has been fixed, and default avatars are now consistently generated with a stable color based on the `+user_id+`. This ensures that the same user always has the same default avatar, improving clarity and providing a more reliable user experience. + +For information on the **Comments** plugin, see: xref:introduction-to-tiny-comments.adoc[Introduction to Tiny Comments]. + === Mentions The {productname} {release-version} release includes an accompanying release of the **Mentions** premium plugin. From 14affb5a22882e148642a0f04304dbae07dfd07d Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 15 Sep 2025 10:03:51 +1000 Subject: [PATCH 08/33] DOC-3209: The same user could receive two different default avatars & Default avatars are now generated with a consistent color based on the user_id. (#3851) --- modules/ROOT/pages/8.1.0-release-notes.adoc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/modules/ROOT/pages/8.1.0-release-notes.adoc b/modules/ROOT/pages/8.1.0-release-notes.adoc index d5177a731d..bfcd7084c4 100644 --- a/modules/ROOT/pages/8.1.0-release-notes.adoc +++ b/modules/ROOT/pages/8.1.0-release-notes.adoc @@ -54,6 +54,26 @@ The following premium plugin updates were released alongside {productname} {rele // For information on the **** plugin, see: xref:.adoc[]. +=== Revision History + +The {productname} {release-version} release includes an accompanying release of the **Revision History** premium plugin. + +**Revision History** includes the following fix and improvement. + +==== The same user could receive two different default avatars +// #TINY-12527 + +In previous versions of Revision History, the same user could receive two different default avatars. This inconsistency could make a single user appear as two distinct contributors, creating confusion when reviewing revision logs. + +In {productname} {release-version}, the issue has been resolved so that each user is now always assigned the same default avatar, improving accuracy and consistency in the revision history display. + +==== Default avatars are now generated with a consistent color based on the `user_id` +// #TINY-12527 + +Default avatars are now generated consistently using the `user_id`, ensuring that users are assigned a reliable and predictable color for their avatar. This improvement enhances the user experience by providing clear visual consistency when identifying contributors in revision histories. + +For information on the **Revision History** plugin, see: xref:revisionhistory.adoc[Revision History]. + === Comments The {productname} {release-version} release includes an accompanying release of the **Comments** premium plugin. From 459d11fb39edfb2c53906ba922686b6d7a845188 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 15 Sep 2025 10:42:48 +1000 Subject: [PATCH 09/33] DOC-3209: Navigating between elements with contenteditable=true was not possible on Firefox using the keyboard. (#3850) --- modules/ROOT/pages/8.1.0-release-notes.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/ROOT/pages/8.1.0-release-notes.adoc b/modules/ROOT/pages/8.1.0-release-notes.adoc index bfcd7084c4..8e8c328a43 100644 --- a/modules/ROOT/pages/8.1.0-release-notes.adoc +++ b/modules/ROOT/pages/8.1.0-release-notes.adoc @@ -188,6 +188,13 @@ For information on the **Suggested Edits** plugin, see: xref:suggestededits.adoc // CCFR here. +=== Navigating between elements with `+contenteditable="true"+` was not possible on Firefox using the keyboard. +// #TINY-12459 + +In {productname} {release-version}, a Firefox-specific limitation prevented caret movement between editable elements when navigating with the keyboard. The caret became trapped inside a +figcaption+, blocking vertical navigation using the Arrow Down key and preventing users from moving to the next element. + +This issue disrupted accessibility and editing flow for Firefox users relying on keyboard interactions. To resolve this, a new caret navigation module was introduced and integrated into the Firefox-specific arrow key handling logic. The solution works around a long-standing Firefox bug by programmatically advancing the caret out of blocked states, ensuring smoother and more consistent keyboard navigation across editable elements. + === Cursor movement did not operate correctly after a `figure` was selected // #TINY-12458 From 4e98498a36735532bca47d4f4ce7e582510fc735 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 15 Sep 2025 11:19:08 +1000 Subject: [PATCH 10/33] DOC-3209: Clicking on a "non selectable" element when the selection is off screen no longer scrolls to the selection. (#3847) * DOC-3209: Clicking on a non selectable element when the selection is off screen no longer scrolls to the selection. * Update modules/ROOT/pages/8.1.0-release-notes.adoc --- modules/ROOT/pages/8.1.0-release-notes.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/ROOT/pages/8.1.0-release-notes.adoc b/modules/ROOT/pages/8.1.0-release-notes.adoc index 8e8c328a43..30c4d9e82c 100644 --- a/modules/ROOT/pages/8.1.0-release-notes.adoc +++ b/modules/ROOT/pages/8.1.0-release-notes.adoc @@ -144,6 +144,14 @@ For information on the **Suggested Edits** plugin, see: xref:suggestededits.adoc // CCFR here. +=== Clicking on a non selectable element when the selection is off screen no longer scrolls to the selection +// #TINY-12245 + +Previously, and issue was identified where clicking the editor's horizontal scrollbar a "non-selectable" UI element implicitly focused the editor, placed the caret at the beginning of the content, and then scrolled the document vertically to that caret position, causing the page to scroll away from the user's current view. + +{productname} {release-version} addresses this issue. Now, the editor avoids taking focus when users click elements that are not selectable (such as scrollbars), preventing unintended vertical scrolling. + + [[additions]] == Additions From 63c3f74ce5ad6c2152e464f5fc2f081c9e514d9f Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 15 Sep 2025 11:20:29 +1000 Subject: [PATCH 11/33] DOC-3209: alt text length error message now shows current and maximum character counts. (#3846) --- modules/ROOT/pages/8.1.0-release-notes.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/ROOT/pages/8.1.0-release-notes.adoc b/modules/ROOT/pages/8.1.0-release-notes.adoc index 30c4d9e82c..7beb05caa7 100644 --- a/modules/ROOT/pages/8.1.0-release-notes.adoc +++ b/modules/ROOT/pages/8.1.0-release-notes.adoc @@ -54,6 +54,21 @@ The following premium plugin updates were released alongside {productname} {rele // For information on the **** plugin, see: xref:.adoc[]. +=== Accessibility Checker + +The {productname} {release-version} release includes an accompanying release of the **Accessibility Checker** premium plugin. + +**Accessibility Checker** includes the following improvement. + +==== `+alt+` text length error message now shows current and maximum character counts +// #TINY-12569 + +Previous versions of **Accessibility Checker**, the `+alt+` text length validation error displayed only the current character count, such as "_Currently 151 characters_" without indicating the maximum allowed length. This caused unclear guidance for users and negatively affected the experience across all image rules (I1–I4) that rely on length validation, making it inconsistent with accessibility best practices. + +In {productname} {release-version}, the error message for **Accessibility Checker** has been updated to show both the current and maximum character counts, for example: "_151 characters (maximum 150 allowed)_." This improvement provides clear, actionable error messaging that aligns with accessibility guidance and reduces user confusion across all affected rules. + +For information on the **Accessibility Checker** plugin, see: xref:a11ychecker.adoc[Accessibility Checker]. + === Revision History The {productname} {release-version} release includes an accompanying release of the **Revision History** premium plugin. From 44096e23d34fff473b99c2515d88064e47c865e3 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 15 Sep 2025 11:21:20 +1000 Subject: [PATCH 12/33] DOC-3209: Tooltips can now remain open when hovered. (#3842) --- modules/ROOT/pages/8.1.0-release-notes.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/ROOT/pages/8.1.0-release-notes.adoc b/modules/ROOT/pages/8.1.0-release-notes.adoc index 7beb05caa7..ff72158030 100644 --- a/modules/ROOT/pages/8.1.0-release-notes.adoc +++ b/modules/ROOT/pages/8.1.0-release-notes.adoc @@ -189,6 +189,13 @@ Previously, and issue was identified where clicking the editor's horizontal scro // CCFR here. +=== Tooltips can now remain open when hovered +// #TINY-12053 + +Previously, tooltips would disappear when the cursor moved from the toolbar button to the tooltip, preventing users from keeping the tooltip open for reference. This behavior impacted accessibility by making it difficult for users who rely on tooltips for extended reading or navigation. In {release-version}, {productname} has been updated to allow tooltips to accept mouse events. This ensures that tooltips remain visible when hovered, improving accessibility and usability by letting users keep the tooltip open until they move the cursor away. + +This improvement addresses the link:https://www.w3.org/WAI/WCAG21/Understanding/content-on-hover-or-focus[WCAG 2.1 Success Criterion 1.4.13: Content on Hover or Focus (Level AA)], specifically the "Hoverable" requirement. + [[removed]] == Removed From f3cbeedf7744838ed747c59ae7adc5826c1d3221 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 15 Sep 2025 11:23:42 +1000 Subject: [PATCH 13/33] DOC-3209: Image previews sometimes showed the wrong image from a srcset. (#3841) --- modules/ROOT/pages/8.1.0-release-notes.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/ROOT/pages/8.1.0-release-notes.adoc b/modules/ROOT/pages/8.1.0-release-notes.adoc index ff72158030..23712baf54 100644 --- a/modules/ROOT/pages/8.1.0-release-notes.adoc +++ b/modules/ROOT/pages/8.1.0-release-notes.adoc @@ -54,6 +54,21 @@ The following premium plugin updates were released alongside {productname} {rele // For information on the **** plugin, see: xref:.adoc[]. + +=== Image Optimizer (Powered by Uploadcare) + +The {productname} {release-version} release includes an accompanying release of the **Image Optimizer (Powered by Uploadcare)** premium plugin. + +**Image Optimizer (Powered by Uploadcare)** includes the following fix. + +==== Image previews sometimes showed the wrong image from a `srcset`. + +In previous version of the Image Optimizer premium plugin, an issue where image effects were applied based on the main `src` instead of the active `srcset` URL, causing discrepancies when the displayed image was selected from `srcset`. This led to a mismatch in the adjustment preview (rendered from the main `src`) versus the image shown in the editor (rendered from the `srcset` URL), resulting in different visual outcomes for effects such as blur or resize. + +{productname} {release-version} resolves this issue by using the `currentSrc` property to generate previews, ensuring the preview and the editor image reference the same resource. As a result, the preview image and the image in the editor are now consistent. + +For information on the **Image Optimizer Powered by Uploadcare** plugin, see: xref:uploadcare.adoc[Image Optimizer (Powered by Uploadcare)]. + === Accessibility Checker The {productname} {release-version} release includes an accompanying release of the **Accessibility Checker** premium plugin. From f822183017785acfbcc3cab99193f1d9ed06e287 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 15 Sep 2025 11:26:35 +1000 Subject: [PATCH 14/33] DOC-3209: Improved keyboard navigation in Comments dropdown when inserting `@Mention` (#3840) * DOC-3209: Improved keyboard navigation in Comments dropdown when inserting @Mention. * Update modules/ROOT/pages/8.1.0-release-notes.adoc Co-authored-by: Hamza Benkhaldoun --------- Co-authored-by: Hamza Benkhaldoun --- modules/ROOT/pages/8.1.0-release-notes.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/ROOT/pages/8.1.0-release-notes.adoc b/modules/ROOT/pages/8.1.0-release-notes.adoc index 23712baf54..90a08e650e 100644 --- a/modules/ROOT/pages/8.1.0-release-notes.adoc +++ b/modules/ROOT/pages/8.1.0-release-notes.adoc @@ -54,6 +54,21 @@ The following premium plugin updates were released alongside {productname} {rele // For information on the **** plugin, see: xref:.adoc[]. +=== Comments + +The {productname} {release-version} release includes an accompanying release of the **Comments** premium plugin. + +**Comments** Premium plugin includes the following removal. + +==== Improved keyboard navigation in Comments dropdown when inserting `@Mention` +// #TINY-12785 + +Previously, typing `@` to open the mentions dropdown list inside the Comments card did not support the **Shift+Enter** keyboard combination. For example, when typing a `@` + navigating to a user in the selected Comment card, pressing **Shift+Enter** did not insert the `@mention` to the ` diff --git a/modules/ROOT/examples/live-demos/fullpagehtml/index.js b/modules/ROOT/examples/live-demos/fullpagehtml/index.js new file mode 100644 index 0000000000..9d5f2b8cc4 --- /dev/null +++ b/modules/ROOT/examples/live-demos/fullpagehtml/index.js @@ -0,0 +1,16 @@ +tinymce.init({ + selector: 'textarea#fullpagehtml', + height: '800px', + plugins: [ + "fullpagehtml", "advlist", "anchor", "autolink", "charmap", "code", "fullscreen", + "help", "image", "insertdatetime", "link", "lists", "media", + "preview", "searchreplace", "table", "visualblocks", + ], + toolbar: "fullpagehtml | undo redo | styles | bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image", + // Full Page HTML Plugin Configuration Options + fullpagehtml_default_doctype: '', + fullpagehtml_default_title: 'Full Page HTML Plugin Demo Document', + fullpagehtml_default_encoding: 'UTF-8', + fullpagehtml_default_body_style: 'margin: 20px; padding: 15px; font-family: Georgia, Times, serif; font-size: 16px; color: #2c3e50;', + fullpagehtml_hide_in_source_view: false // Show full page HTML in source view +}); \ No newline at end of file diff --git a/modules/ROOT/images/icons/default-document-properties.svg b/modules/ROOT/images/icons/default-document-properties.svg new file mode 100644 index 0000000000..bc305f278e --- /dev/null +++ b/modules/ROOT/images/icons/default-document-properties.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/modules/ROOT/images/icons/document-properties.svg b/modules/ROOT/images/icons/document-properties.svg deleted file mode 100644 index eba5de0b3f..0000000000 --- a/modules/ROOT/images/icons/document-properties.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - icon-document-properties - Created with Sketch. - - - - - \ No newline at end of file diff --git a/modules/ROOT/nav.adoc b/modules/ROOT/nav.adoc index 7dd9c0e1e1..2d6ca1baef 100644 --- a/modules/ROOT/nav.adoc +++ b/modules/ROOT/nav.adoc @@ -315,6 +315,7 @@ **** JWT Authentication ***** xref:export-to-word-with-jwt-authentication-nodejs.adoc[Node.js] ***** xref:export-to-word-with-jwt-authentication-php.adoc[PHP] +*** xref:fullpagehtml.adoc[Full Page HTML] *** xref:footnotes.adoc[Footnotes] *** xref:formatpainter.adoc[Format Painter] *** xref:importword.adoc[Import from Word] diff --git a/modules/ROOT/pages/8.1.0-release-notes.adoc b/modules/ROOT/pages/8.1.0-release-notes.adoc index d04a074e0c..03b5bffe99 100644 --- a/modules/ROOT/pages/8.1.0-release-notes.adoc +++ b/modules/ROOT/pages/8.1.0-release-notes.adoc @@ -28,11 +28,11 @@ include::partial$misc/admon-releasenotes-for-stable.adoc[] The following new Premium plugin was released alongside {productname} {release-version}. -// === +=== Full Page HTML -// The new Premium plugin, **** // description here. +The new Premium plugin, **Full Page HTML** provides comprehensive control over document metadata and properties. It enables users to edit HTML document metadata such as title, keywords, and description through an intuitive dialog interface. When combined with the code plugin, it also exposes the complete HTML structure including ``, ``, and various meta tags in the source code view. -// For information on the **** plugin, see xref:.adoc[]. +For information on the **Full Page HTML** plugin, see xref:fullpagehtml.adoc[Full Page HTML]. [[accompanying-premium-plugin-changes]] @@ -329,9 +329,10 @@ As of {productname} {release-version}, the `content_css_cors` configuration opti This section describes issues that users of {productname} {release-version} may encounter and possible workarounds for these issues. -There known issue in {productname} {release-version}. +There is one known issue in {productname} {release-version}. -// === -// #TINY-vwxyz1 +=== Full Page HTML plugin incompatibility with Suggested Edits and Revision History -// CCFR here. \ No newline at end of file +The Full Page HTML plugin enables document properties and metadata to be set. However, these are not picked up by Suggested Edits and Revision History, and actions performed in these plugins will overwrite the values set by the Full Page plugin. + +**Workaround:** Avoid using the Full Page HTML plugin in combination with Suggested Edits or Revision History plugins to prevent data loss of document metadata and properties. \ No newline at end of file diff --git a/modules/ROOT/pages/available-menu-items.adoc b/modules/ROOT/pages/available-menu-items.adoc index 8f55b4d322..56faf50683 100644 --- a/modules/ROOT/pages/available-menu-items.adoc +++ b/modules/ROOT/pages/available-menu-items.adoc @@ -100,6 +100,12 @@ include::partial$misc/plugin-menu-item-id-boilerplate.adoc[] :plugincode: emoticons include::partial$misc/plugin-menu-item-id-boilerplate.adoc[] +:plugincategory: premium +:pluginname: Full Page HTML +:plugincode: fullpagehtml +:pluginpage: fullpagehtml.adoc +include::partial$misc/plugin-menu-item-id-boilerplate.adoc[] + :plugincategory: premium :pluginname: Export to PDF :plugincode: exportpdf diff --git a/modules/ROOT/pages/available-toolbar-buttons.adoc b/modules/ROOT/pages/available-toolbar-buttons.adoc index 0a95913626..74ffd4a6d6 100644 --- a/modules/ROOT/pages/available-toolbar-buttons.adoc +++ b/modules/ROOT/pages/available-toolbar-buttons.adoc @@ -112,6 +112,12 @@ include::partial$misc/plugin-toolbar-button-id-boilerplate.adoc[] :plugincode: emoticons include::partial$misc/plugin-toolbar-button-id-boilerplate.adoc[] +:plugincategory: premium +:pluginname: Full Page HTML +:plugincode: fullpagehtml +:pluginpage: fullpagehtml.adoc +include::partial$misc/plugin-toolbar-button-id-boilerplate.adoc[] + :plugincategory: premium :pluginname: Export to PDF :plugincode: exportpdf diff --git a/modules/ROOT/pages/fullpagehtml.adoc b/modules/ROOT/pages/fullpagehtml.adoc new file mode 100644 index 0000000000..e09e314def --- /dev/null +++ b/modules/ROOT/pages/fullpagehtml.adoc @@ -0,0 +1,124 @@ += Full Page HTML Plugin +:navtitle: Full Page HTML +:description: Edit metadata and document properties including title, keywords, and description via a dialog box, with HTML structure exposure in source code view. +:description_short: Edit document metadata and properties with dialog interface and source code exposure. +:keywords: full page html, metadata, document properties, title, keywords, description, HTML structure, source code +:pluginname: Full Page HTML +:plugincode: fullpagehtml +:plugincategory: premium + +include::partial$misc/admon-premium-plugin.adoc[] + +include::partial$misc/admon-inline-not-supported.adoc[] + +The {pluginname} plugin provides comprehensive control over document metadata and properties. It enables users to edit HTML document metadata such as title, keywords, and description through an intuitive dialog interface. When combined with the code plugin, it also exposes the complete HTML structure including ``, ``, and various meta tags in the source code view. + + +== Interactive example + + +liveDemo::{plugincode}[] + +== Basic setup + +To add the {pluginname} plugin to the editor, add `{plugincode}` to the `plugins` option in the editor configuration. + +For example: + +[source,js] +---- +tinymce.init({ + selector: 'textarea', // change this value according to your HTML + plugins: 'fullpagehtml', + toolbar: 'fullpagehtml', + fullpagehtml_default_doctype: '' +}); +---- + +[WARNING] +==== +**Certain elements may be removed by XSS sanitization** +By default, {productname} sanitizes HTML content to protect against XSS attacks. Elements outside the HTML5 specification, such as `