Skip to content

Commit 588a01f

Browse files
kemister85abhinavgandhamArvinJ-Htjdettmichalnieruchalski-tiugo
authored
DOC-3147: TinyMCE 8.0.0 Release notes and community changelog. (#3734)
* DOC-3147: TinyMCE 8.0.0 Release notes and community changelog. * DOC-3147: HTML schema did not treat colgroup or col elements as block elements. (#3790) * DOC-3147: Decorative images would lose their decorative properties when the subtoolbar was closed using the confirmation button. (#3774) Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-3147: Word import of lists with a lighter level failed parsing. (#3765) * DOC-3147: It wasn't possible to navigate out of a using the left and right arrow keys in Firefox. (#3773) Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-3147: Using arrow navigation between buttons when a button had the mouse over could stop the navigation. (#3772) Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-3147: Resize handles are more accessible with and attributes. (#3749) * DOC-3147: Toolbar drawer now closes when the editor loses focus. (#3750) Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-3147: Instructions on how to navigate the color swatch, image select and insert (#3788) table widget are now announced by the screen readers. Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-3147: Default value for `pagebreak_separator` option to better suit modern standards. (#3780) * DOC-3147: Default value for option to better suit modern standards. * DOC-3147: Fixed syntax issue. * Update modules/ROOT/partials/configuration/pagebreak_separator.adoc * Update modules/ROOT/partials/configuration/pagebreak_separator.adoc * Update modules/ROOT/pages/8.0-release-notes.adoc --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * The `contextform` subtoolbar is no longer dismissed when using the back button in inline editors. (#3770) * The subtoolbar is no longer dismissed when using the back button in inline editors. * Update modules/ROOT/pages/8.0-release-notes.adoc --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-3147: Deleting a whole element would sometimes modify nearby content (#3752) * DOC-3147: Deleting a whole element would sometimes modify nearby content. * copy edits. * Update modules/ROOT/pages/8.0-release-notes.adoc * DOC-3147: Removed undocumented documentBaseUrl property from Editor instances. documentBaseURI is the supported property now. (#3787) * DOC-3147: The translate API now automatically replaces three dots in a row with an ellipsis character. (#3792) * DOC-3147: Strikethrough format could be added outside font size format, which renders incorrectly in some browsers. (#3778) * DOC-3147: Strikethrough format could be added outside font size format, which renders incorrectly in some browsers. * Update modules/ROOT/pages/8.0-release-notes.adoc Co-authored-by: CODE:AG <57781325+abhinavgandham@users.noreply.github.com> --------- Co-authored-by: CODE:AG <57781325+abhinavgandham@users.noreply.github.com> * DOC-3147: Accessibility: Enhanced image accessibility checks & rules in `a11ychecker` plugin. (#3794) * DOC-3147: Accessibility: Enhanced image accessibility checks in a11ychecker plugin. * DOC-3147: Add a11ychecker_alt_text_max_length new option to the release notes. * DOC-3147: Fix lvl heading issues for TOC. * DOC-3147: Update accessibility rules and configuration options for image handling * Update modules/ROOT/partials/configuration/a11ychecker_allow_decorative_images.adoc Co-authored-by: CODE:AG <57781325+abhinavgandham@users.noreply.github.com> --------- Co-authored-by: Arvin Han <20640097+ArvinJ-H@users.noreply.github.com> Co-authored-by: CODE:AG <57781325+abhinavgandham@users.noreply.github.com> * DOC-3231: Refactor documentation for server-side components to support Docker deployment. (#3757) * DOC-3231: Refactor documentation for server-side components to support Docker deployment - Removed the deprecated logging services configuration documentation. - Updated references from WAR file deployment to Docker container deployment across multiple documents. - Revised installation and configuration instructions for spellchecking, image proxy, and media embed services to reflect Docker usage. - Added new sections for Docker image retrieval, configuration, and requirements. - Clarified system requirements and troubleshooting steps for Dockerized services. - Adjusted custom dictionaries and Hunspell dictionaries path requirements to remove references to Java services. - Updated supported application servers section to emphasize Docker as the primary deployment method. * DOC-3231: Remove deprecated server-side component installation documentation duplication page. * File cleanup, removal of files not used during copy edits. * Update modules/ROOT/partials/misc/custom-dictionaries-path.adoc Co-authored-by: Tim Dettrick <tim.dettrick@tiny.cloud> * Update modules/ROOT/partials/misc/hunspell-dictionaries-path.adoc Co-authored-by: Tim Dettrick <tim.dettrick@tiny.cloud> * Update modules/ROOT/partials/misc/supported-application-servers.adoc Co-authored-by: Tim Dettrick <tim.dettrick@tiny.cloud> * Update modules/ROOT/pages/support.adoc Co-authored-by: Tim Dettrick <tim.dettrick@tiny.cloud> * Update modules/ROOT/pages/support.adoc Co-authored-by: Tim Dettrick <tim.dettrick@tiny.cloud> * Update modules/ROOT/partials/misc/supported-application-servers.adoc --------- Co-authored-by: Tim Dettrick <tim.dettrick@tiny.cloud> * DOC-3147: Attempting to add a newline directly after a element such as an image would cause an error. (#3737) Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-3147: Language code standardization to RFC5646/BCP47 format. (#3771) * DOC-3147: Deprecated `editor.selection.setContent` API (#3789) * DOC-3147: Deprecated API. * Update modules/ROOT/pages/8.0-release-notes.adoc * DOC-3147: New `allow_html_in_comments` option to allow HTML-like content inside comment data (#3791) * DOC-3147: New allow_html_in_comments option to allow HTML-like content inside comment data. * Update modules/ROOT/partials/configuration/allow_html_in_comments.adoc Co-authored-by: michalnieruchalski-tiugo <michal.nieruchalski@tiny.cloud> * Update modules/ROOT/pages/8.0-release-notes.adoc Co-authored-by: michalnieruchalski-tiugo <michal.nieruchalski@tiny.cloud> --------- Co-authored-by: michalnieruchalski-tiugo <michal.nieruchalski@tiny.cloud> * DOC-3147: The default value of `pagebreak_split_block` is now `true` to match the new `pagebreak_separator` default. (#3795) * DOC-3147: The default value of pagebreak_split_block is now true to match the new pagebreak_separator default. * Update modules/ROOT/pages/8.0-release-notes.adoc Co-authored-by: shirqa <43625458+ShiridiGandham@users.noreply.github.com> * Update modules/ROOT/pages/8.0-release-notes.adoc Co-authored-by: shirqa <43625458+ShiridiGandham@users.noreply.github.com> * Update modules/ROOT/pages/8.0-release-notes.adoc Co-authored-by: Hamza Benkhaldoun <hamza0867@gmail.com> * Update modules/ROOT/pages/8.0-release-notes.adoc Co-authored-by: Hamza Benkhaldoun <hamza0867@gmail.com> --------- Co-authored-by: shirqa <43625458+ShiridiGandham@users.noreply.github.com> Co-authored-by: Hamza Benkhaldoun <hamza0867@gmail.com> * DOC-3147: Tooltips can now be closed by pressing the escape key. (#3785) Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-3147: Long tooltips could overflow narrow browser windows. (#3769) * DOC-3147: Tab to create a new row in tables with a non-editable final row would freeze the editor. (#3768) * DOC-3147: Tab to create a new row in tables with a non-editable final row would freeze the editor. * Update modules/ROOT/pages/8.0-release-notes.adoc * DOC-3147: Nested font sizes no longer cause excessive line spacing. (#3761) * DOC-3147: Nested font sizes no longer cause excessive line spacing. * Update modules/ROOT/pages/8.0-release-notes.adoc * DOC-3147: DomParser no longer tries to fix some nodes when parsed with a context, and Improved structure retention when inserting invalid HTML fragments. (#3779) * DOC-3147: Input label for misspelled word was not announced by screen readers. (#3758) * DOC-3147: Input label for misspelled word was not announced by screen readers. * Update modules/ROOT/pages/8.0-release-notes.adoc * DOC-3147: Content marked with lang attributes was sometimes not spellchecked correctly. (#3777) * DOC-3147: Codesample dialog would not disable spellcheck as expected. (#3767) * DOC-3147: Codesample dialog would not disable spellcheck as expected. * Update modules/ROOT/pages/8.0-release-notes.adoc * DOC-3147: New list_max_depth option to limit list indentation. (#3766) * DOC-3147: New list_max_depth option to limit list indentation. * Update modules/ROOT/partials/configuration/list_max_depth.adoc * Update modules/ROOT/pages/8.0-release-notes.adoc * DOC-12102: New list item was not inserted correctly when existing list item had a block element inside. (#3759) * DOC-3147: Cutting a whole HTML element would add an empty paragraph. (#3756) Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-3147: Focus is now restored to a dialog after closing an alert, confirmation or another dialog (#3751) * DOC-3147: Focus is now restored to a dialog after closing an alert, confirmation or another dialog. * Update modules/ROOT/pages/8.0-release-notes.adoc Co-authored-by: Zuzanna Tomaszyk <91727075+ztomaszyk@users.noreply.github.com> --------- Co-authored-by: Zuzanna Tomaszyk <91727075+ztomaszyk@users.noreply.github.com> * DOC-3147: The ToggleToolbarDrawer command's skipFocus option has been deprecated. (#3748) * DOC-3147: Removed unused Mentions plugin stylesheet. (#3747) * DOC-3147: Mentions username not updating with skin changes in dark mode. (#3746) * DOC-3147: Removed unused `css/tinycomments.css` and `css/tinycomments.js` files. (#3745) * DOC-3147: Removed unused css/tinycomments.css and css/tinycomments.js files. * minor copy edits. * Update modules/ROOT/pages/8.0-release-notes.adoc * DOC-3147: Discontinue advertised support for Medical English (UK) in TinyMCE features. (#3742) * DOC-3147: Tabbing when a was selected didn't move the selection on the `figcaption` correctly. (#3776) * DOC-3147: Tabbing when a was selected didn't move the selection on the correctly. * Update modules/ROOT/pages/8.0-release-notes.adoc * Update modules/ROOT/pages/8.0-release-notes.adoc --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * Revert "DOC-3147: Default value for `pagebreak_separator` option to better suit modern standards. (#3780)" This reverts commit b2a8207. * Revert "DOC-3147: The default value of `pagebreak_split_block` is now `true` to match the new `pagebreak_separator` default. (#3795)" This reverts commit 7ad29fd. * DOC-3147: Updated documentation related to a11y (#3799) * DOC-3147: Add I1 url * DOC-3147: Update accessibility documentation: Adjust alt text length limit to 150 characters, enhance descriptions for decorative images, and clarify filtering behavior for empty alt attributes. * Update modules/ROOT/partials/a11y-rules/i1.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * Update modules/ROOT/partials/a11y-rules/i3.adoc * Apply suggestion from @ArvinJ-H --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-3147: Update split button documentation (#3793) * DOC-3147: Update split button tooltips and documentation * Update modules/ROOT/pages/8.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * Update modules/ROOT/pages/8.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * Update modules/ROOT/pages/8.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * Update modules/ROOT/pages/8.0-release-notes.adoc Co-authored-by: tiny-ben-tran <ben.tran@tiny.cloud> * Update modules/ROOT/pages/custom-split-toolbar-button.adoc Co-authored-by: tiny-ben-tran <ben.tran@tiny.cloud> * Update modules/ROOT/pages/custom-split-toolbar-button.adoc Co-authored-by: tiny-ben-tran <ben.tran@tiny.cloud> * Update modules/ROOT/pages/custom-split-toolbar-button.adoc Co-authored-by: tiny-ben-tran <ben.tran@tiny.cloud> * DOC-3147: Refactor split button documentation and CSS classes for clarity and consistency * DOC-3147: Update split button notes to reflect structural changes. * DOC-3147: Remove CSS classes section and related file for split buttons * Update modules/ROOT/pages/creating-a-skin.adoc * Update modules/ROOT/pages/8.0-release-notes.adoc * Update modules/ROOT/pages/8.0-release-notes.adoc --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> Co-authored-by: tiny-ben-tran <ben.tran@tiny.cloud> * DOC-3147: draft changelog. * DOC-3147: New User Lookup API for retrieving and caching user details. (#3801) * DOC-3147: New User Lookup API for retrieving and caching user details. * Update modules/ROOT/pages/8.0-release-notes.adoc * DOC-3226: Update licensing information and examples for TinyMCE 8 (#3753) * DOC-3226: Update licensing information and examples for TinyMCE 8, including T8LK: prefix requirements for self-hosted deployments across various integrations and documentation. * Enhance license key documentation for TinyMCE 8, clarifying T8LK prefix usage and client-side JWT validation across various integration references and examples. * DOC-3226: Update license key format across documentation and examples to include T8LK prefix for TinyMCE 8 compatibility and included release notes entry. * Update Blazor integration example to include T8LK prefix in LicenseKey for compliance with TinyMCE 8. * Update Blazor integration example to include T8LK prefix in LicenseKey for TinyMCE 8 compliance. * DOC-3226: Technical and readabilty adjustments * DOC-3226: Enhance license key documentation for TinyMCE 8, clarifying T8LK prefix requirements and updating integration references across various frameworks. * DOC-3226: Update license key documentation for TinyMCE 8, clarifying API key usage, T8LK prefix requirements, and adding common error messages with solutions. * Update modules/ROOT/pages/8.0-release-notes.adoc * Update modules/ROOT/partials/integrations/webcomponent-tech-ref.adoc * Update modules/ROOT/partials/integrations/webcomponent-quick-start.adoc Co-authored-by: tiny-ben-tran <ben.tran@tiny.cloud> * Update modules/ROOT/partials/integrations/webcomponent-tech-ref.adoc Co-authored-by: tiny-ben-tran <ben.tran@tiny.cloud> * Update modules/ROOT/partials/integrations/webcomponent-tech-ref.adoc Co-authored-by: tiny-ben-tran <ben.tran@tiny.cloud> * Update modules/ROOT/partials/integrations/webcomponent-tech-ref.adoc Co-authored-by: tiny-ben-tran <ben.tran@tiny.cloud> * DOC-3226: Change readonly to disabled. Add new messages. * Update modules/ROOT/partials/integrations/common/license-key-property.adoc * Update modules/ROOT/partials/integrations/vue-quick-start.adoc Co-authored-by: Tim Dettrick <tim.dettrick@tiny.cloud> * Update modules/ROOT/partials/integrations/vue-quick-start.adoc Co-authored-by: Tim Dettrick <tim.dettrick@tiny.cloud> * Update modules/ROOT/partials/integrations/blazor-postinstall.adoc * Update modules/ROOT/partials/integrations/blazor-tech-ref.adoc Co-authored-by: Tim Dettrick <tim.dettrick@tiny.cloud> * Update modules/ROOT/partials/integrations/react-bundling.adoc * Update modules/ROOT/partials/integrations/svelte-quick-start.adoc Co-authored-by: tiny-ben-tran <ben.tran@tiny.cloud> * Update modules/ROOT/partials/module-loading/bundling-vite-es6-npm_editor.adoc * Update modules/ROOT/partials/integrations/react-quick-start.adoc * Apply suggestions from code review * DOC-3147: Update key information for self-hosted for licensekeymanager addon. --------- Co-authored-by: ltrouton <luke.trouton@tiny.cloud> Co-authored-by: tiny-ben-tran <ben.tran@tiny.cloud> Co-authored-by: Tim Dettrick <tim.dettrick@tiny.cloud> * DOC-3147: Add `crossorigin` attribute to all script tags for CORS compliance. (#3762) * DOC-3147: Add crossorigin attribute to script tags for CORS compliance. * DOC-3233: Add release notes entry for new crossorigin option, and updated script_crossorigin.adoc partial to provide examples. * DOC-3233:Refactor CORS documentation: replace script_crossorigin.adoc with crossorigin.adoc for improved clarity and organization. * DOC-3233: Update crossorigin function in release notes to match new implementaiton standard. * DOC-3147: Refactor crossorigin examples in documentation to clarify attribute handling and provide options for omitting the attribute. * DOC-3147: Fix indent issues. * DOC-3147: Update scripttag.png file to include crossorigin. * Update modules/ROOT/partials/configuration/crossorigin.adoc * Update modules/ROOT/partials/configuration/crossorigin.adoc * Update modules/ROOT/partials/configuration/crossorigin.adoc * Update modules/ROOT/partials/configuration/crossorigin.adoc * Update modules/ROOT/pages/8.0-release-notes.adoc * Update modules/ROOT/pages/editor-and-features.adoc * DOC-3147: Cleanup pre-release. * DOC-3147: Add fire() method, update changelog to include license key message. * DOC-3147: Migration guide from TinyMCE 7 to TinyMCE 8. (#3781) * DOC-3147: Migration guide from TinyMCE 7 to TinyMCE 8. * DOC-3238: Enhance migration guide with detailed checklists and improves crossorigin entry. * Update modules/ROOT/pages/migration-from-7x.adoc Co-authored-by: Andrew Herron <andrew.herron@tiny.cloud> * Update modules/ROOT/pages/migration-from-7x.adoc Co-authored-by: Andrew Herron <andrew.herron@tiny.cloud> * Update modules/ROOT/pages/migration-from-7x.adoc Co-authored-by: Andrew Herron <andrew.herron@tiny.cloud> * Update modules/ROOT/pages/migration-from-7x.adoc Co-authored-by: Andrew Herron <andrew.herron@tiny.cloud> * Update modules/ROOT/pages/migration-from-7x.adoc Co-authored-by: Andrew Herron <andrew.herron@tiny.cloud> * Update modules/ROOT/pages/migration-from-7x.adoc Co-authored-by: Andrew Herron <andrew.herron@tiny.cloud> * Update modules/ROOT/pages/migration-from-7x.adoc Co-authored-by: Andrew Herron <andrew.herron@tiny.cloud> * Update modules/ROOT/pages/migration-from-7x.adoc Co-authored-by: Andrew Herron <andrew.herron@tiny.cloud> * Update modules/ROOT/pages/migration-from-7x.adoc * DOC-3147: document structure changes, to include various suggestions, edits, improvements. * DOC-3147: Update migration guide to clarify license key manager directory and initialization steps. * DOC-2147: Add pagebreak_split_block breaking change. * DOC-3146: downgrade pagebreak_split_block lvl to Low. * Update modules/ROOT/pages/migration-from-7x.adoc Co-authored-by: Andrew Herron <andrew.herron@tiny.cloud> * Update modules/ROOT/pages/migration-from-7x.adoc * Update modules/ROOT/pages/migration-from-7x.adoc * Update modules/ROOT/pages/migration-from-7x.adoc * Update modules/ROOT/pages/migration-from-7x.adoc * Update modules/ROOT/pages/migration-from-7x.adoc * DOC-3147: Update migration guide and security documentation for DOMPurify changes, and fix for ref numbers. * DOC-3147: Remove content handling updates from migration guide, not breaking change. * DOC-3147: Update migration quick ref table to reflect changes in DOMPurify sanitization. * DOC-3147: Fix broken table link. * DOC-3147: Update documentBaseUrl to include updated information. * DOC-3147: Refine migration guide for TinyMCE 8.0: update breaking change descriptions, enhance license key system details, and clarify DOMPurify sanitization impacts. * Update modules/ROOT/pages/migration-from-7x.adoc Co-authored-by: michalnieruchalski-tiugo <michal.nieruchalski@tiny.cloud> * Update modules/ROOT/pages/migration-from-7x.adoc * DOC-3147: Remove reverted pagebreak_split_block, updated Split button CSS structure updates, general doc structural changes. * Update modules/ROOT/pages/migration-from-7x.adoc * Update modules/ROOT/pages/migration-from-7x.adoc * DOC-2147: fix table, and add ask-ai-widget png file. * Update modules/ROOT/pages/migration-from-7x.adoc * Apply suggestions from code review Co-authored-by: Shan <shanmen.ng@tiny.cloud> * Update modules/ROOT/pages/migration-from-7x.adoc * Update modules/ROOT/pages/migration-from-7x.adoc --------- Co-authored-by: Andrew Herron <andrew.herron@tiny.cloud> Co-authored-by: michalnieruchalski-tiugo <michal.nieruchalski@tiny.cloud> Co-authored-by: Shan <shanmen.ng@tiny.cloud> * DOC-3147: Add suggestededits to new premium plugin section in release notes. * DOC-3147: Add suggestededits to full-feature demo. * DOC-3147: Remove model, and linkchecker from full feature demo as its not currently ignored. * Update modules/ROOT/partials/configuration/crossorigin.adoc * Update modules/ROOT/examples/live-demos/a11ychecker/index.js Co-authored-by: tiny-ben-tran <ben.tran@tiny.cloud> * Update modules/ROOT/examples/live-demos/full-featured/index.js * Update modules/ROOT/partials/configuration/list_max_depth.adoc * Update modules/ROOT/partials/misc/ui-languages.adoc * DOC-3147: api-version bump to 8.0.0 and update CDN version. --------- Co-authored-by: CODE:AG <57781325+abhinavgandham@users.noreply.github.com> Co-authored-by: Arvin Han <20640097+ArvinJ-H@users.noreply.github.com> Co-authored-by: Tim Dettrick <tim.dettrick@tiny.cloud> Co-authored-by: michalnieruchalski-tiugo <michal.nieruchalski@tiny.cloud> Co-authored-by: shirqa <43625458+ShiridiGandham@users.noreply.github.com> Co-authored-by: Hamza Benkhaldoun <hamza0867@gmail.com> Co-authored-by: Zuzanna Tomaszyk <91727075+ztomaszyk@users.noreply.github.com> Co-authored-by: tiny-ben-tran <ben.tran@tiny.cloud> Co-authored-by: ltrouton <luke.trouton@tiny.cloud> Co-authored-by: Andrew Herron <andrew.herron@tiny.cloud> Co-authored-by: Shan <shanmen.ng@tiny.cloud>
1 parent 45240c5 commit 588a01f

File tree

113 files changed

+3532
-1010
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+3532
-1010
lines changed

.api-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.9.0
1+
8.0.0

antora.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ asciidoc:
88
idseparator: '-@'
99
# generic variables
1010
companyurl: https://www.tiny.cloud
11-
cdnurl: https://cdn.tiny.cloud/1/no-api-key/tinymce/7/tinymce.min.js
12-
tdcdnurl: https://cdn.tiny.cloud/1/_your_api_key_/tinydrive/7/tinydrive.min.js
13-
tinymce_live_demo_url: https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinymce/8-dev/tinymce.min.js
14-
tinydrive_live_demo_url: https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinydrive/7/tinydrive.min.js
11+
cdnurl: https://cdn.tiny.cloud/1/no-api-key/tinymce/8/tinymce.min.js
12+
tdcdnurl: https://cdn.tiny.cloud/1/_your_api_key_/tinydrive/8/tinydrive.min.js
13+
tinymce_live_demo_url: https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinymce/8/tinymce.min.js
14+
tinydrive_live_demo_url: https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinydrive/8/tinydrive.min.js
1515
webcomponent_url: https://cdn.jsdelivr.net/npm/@tinymce/tinymce-webcomponent/dist/tinymce-webcomponent.min.js
1616
jquery_url: https://cdn.jsdelivr.net/npm/@tinymce/tinymce-jquery@2/dist/tinymce-jquery.min.js
1717
openai_proxy_url: https://openai.ai-demo-proxy.tiny.cloud/v1/chat/completions

modules/ROOT/examples/live-demos/a11ychecker/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ tinymce.init({
22
selector: 'textarea#a11ychecker',
33
plugins: 'a11ychecker advcode table advlist lists image media anchor link autoresize',
44
toolbar: 'a11ycheck | blocks bold forecolor backcolor | bullist numlist | link image media anchor | table | code',
5+
max_height: 500,
56
a11y_advanced_options: true,
67
a11ychecker_html_version: 'html5',
78
a11ychecker_level: 'aaa',
9+
a11ychecker_allow_decorative_images: true,
810
content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:16px }'
911
});

modules/ROOT/examples/live-demos/custom-toolbar-split-button/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ tinymce.init({
66
editor.ui.registry.addSplitButton('myButton', {
77
text: 'My Button',
88
icon: 'info',
9-
tooltip: 'This is an example split-button',
9+
tooltip: 'Execute my action',
10+
chevronTooltip: 'My Button menu options',
1011
onAction: () => editor.insertContent('<p>You clicked the main button</p>'),
1112
onItemAction: (api, value) => editor.insertContent(value),
1213
fetch: (callback) => {

modules/ROOT/examples/live-demos/full-featured/example.js

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,18 @@ const openai_api_key = "<INSERT_OPENAI_API_KEY_HERE>";
88

99
const isSmallScreen = window.matchMedia('(max-width: 1023.5px)').matches;
1010

11+
const tinymceElement = document.querySelector('textarea#full-featured');
12+
const model = tinymceElement.getAttribute('suggestededits-model');
13+
1114
tinymce.init({
1215
selector: 'textarea#full-featured',
13-
plugins: 'importword exportword exportpdf ai preview powerpaste casechange importcss tinydrive searchreplace autolink autosave save directionality advcode visualblocks visualchars fullscreen image link math media mediaembed codesample table charmap pagebreak nonbreaking anchor tableofcontents insertdatetime advlist lists checklist wordcount tinymcespellchecker a11ychecker editimage help formatpainter permanentpen pageembed charmap tinycomments mentions quickbars linkchecker emoticons advtable footnotes mergetags autocorrect typography advtemplate markdown revisionhistory',
16+
plugins: 'importword exportword exportpdf ai suggestededits preview powerpaste casechange importcss tinydrive searchreplace autolink autosave save directionality advcode visualblocks visualchars fullscreen image link math media mediaembed codesample table charmap pagebreak nonbreaking anchor tableofcontents insertdatetime advlist lists checklist wordcount tinymcespellchecker a11ychecker editimage help formatpainter permanentpen pageembed charmap tinycomments mentions quickbars emoticons advtable footnotes mergetags autocorrect typography advtemplate markdown revisionhistory',
1417
tinydrive_token_provider: 'URL_TO_YOUR_TOKEN_PROVIDER',
1518
tinydrive_dropbox_app_key: 'YOUR_DROPBOX_APP_KEY',
1619
tinydrive_google_drive_key: 'YOUR_GOOGLE_DRIVE_KEY',
1720
tinydrive_google_drive_client_id: 'YOUR_GOOGLE_DRIVE_CLIENT_ID',
1821
mobile: {
19-
plugins: 'ai preview powerpaste casechange importcss tinydrive searchreplace autolink autosave save directionality advcode visualblocks visualchars fullscreen image link math media mediaembed codesample table charmap pagebreak nonbreaking anchor tableofcontents insertdatetime advlist lists checklist wordcount tinymcespellchecker a11ychecker help formatpainter pageembed charmap mentions quickbars linkchecker emoticons advtable footnotes mergetags autocorrect typography advtemplate',
22+
plugins: 'ai suggestededits preview powerpaste casechange importcss tinydrive searchreplace autolink autosave save directionality advcode visualblocks visualchars fullscreen image link math media mediaembed codesample table charmap pagebreak nonbreaking anchor tableofcontents insertdatetime advlist lists checklist wordcount tinymcespellchecker a11ychecker help formatpainter pageembed charmap mentions quickbars emoticons advtable footnotes mergetags autocorrect typography advtemplate',
2023
},
2124
menu: {
2225
tc: {
@@ -25,7 +28,7 @@ tinymce.init({
2528
}
2629
},
2730
menubar: 'file edit view insert format tools table tc help',
28-
toolbar: "undo redo | importword exportword exportpdf | revisionhistory | aidialog aishortcuts | blocks fontsizeinput | bold italic | align numlist bullist | link image | table math media pageembed | lineheight outdent indent | strikethrough forecolor backcolor formatpainter removeformat | charmap emoticons checklist | code fullscreen preview | save print | pagebreak anchor codesample footnotes mergetags | addtemplate inserttemplate | addcomment showcomments | ltr rtl casechange | spellcheckdialog a11ycheck", // Note: if a toolbar item requires a plugin, the item will not present in the toolbar if the plugin is not also loaded.
31+
toolbar: "undo redo | importword exportword exportpdf | suggestededits | revisionhistory | aidialog aishortcuts | blocks fontsizeinput | bold italic | align numlist bullist | link image | table math media pageembed | lineheight outdent indent | strikethrough forecolor backcolor formatpainter removeformat | charmap emoticons checklist | code fullscreen preview | save print | pagebreak anchor codesample footnotes mergetags | addtemplate inserttemplate | addcomment showcomments | ltr rtl casechange | spellcheckdialog a11ycheck", // Note: if a toolbar item requires a plugin, the item will not present in the toolbar if the plugin is not also loaded.
2932
autosave_ask_before_unload: true,
3033
autosave_interval: '30s',
3134
autosave_prefix: '{path}{query}-{id}-',
@@ -439,4 +442,16 @@ tinymce.init({
439442
mentions_menu_complete: mentions_menu_complete, // TODO: Implement mentions_menu_complete
440443
mentions_select: mentions_select, // TODO: Implement mentions_select
441444
mentions_item_type: "profile",
445+
446+
// Suggested edits plugin settings
447+
user_id: 'kalebwilson',
448+
fetch_users: (userIds) => Promise.all(userIds
449+
.map((userId) =>
450+
fetch(`/users/${userId}`) // Fetch user data from the server
451+
.then((response) => response.json())
452+
.catch(() => ({ id: userId })) // Still return a valid user object even if the fetch fails
453+
)),
454+
suggestededits_model: model,
455+
suggestededits_access: 'full',
456+
suggestededits_content: 'html'
442457
});

modules/ROOT/examples/live-demos/full-featured/index.js

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,33 @@ tinymce.ScriptLoader.loadScripts(['https://cdn.jsdelivr.net/npm/faker@5/dist/fak
412412
]);
413413
};
414414

415+
/** Fake user database for suggested edits */
416+
const suggestededitsUserDb = {
417+
adamhayes: {
418+
id: 'adamhayes',
419+
name: 'Adam Hayes',
420+
avatar: `https://randomuser.me/api/portraits/men/4.jpg`,
421+
},
422+
martincook: {
423+
id: 'martincook',
424+
name: 'Martin Cook',
425+
avatar: `https://randomuser.me/api/portraits/men/5.jpg`,
426+
},
427+
kalebwilson: {
428+
id: 'kalebwilson',
429+
name: 'Kaleb Wilson',
430+
avatar: `https://randomuser.me/api/portraits/men/6.jpg`,
431+
},
432+
sarahjones: {
433+
id: 'sarahjones',
434+
name: 'Sarah Jones',
435+
avatar: `https://randomuser.me/api/portraits/women/1.jpg`,
436+
}
437+
};
438+
415439
tinymce.init({
416440
selector: 'textarea#full-featured',
417-
plugins: 'ai preview powerpaste casechange importcss tinydrive searchreplace autolink autosave save directionality advcode visualblocks visualchars fullscreen image link math media mediaembed codesample table charmap pagebreak nonbreaking anchor tableofcontents insertdatetime advlist lists checklist wordcount tinymcespellchecker a11ychecker editimage help formatpainter permanentpen pageembed charmap tinycomments mentions quickbars linkchecker emoticons advtable footnotes mergetags autocorrect typography advtemplate markdown revisionhistory importword exportword exportpdf',
441+
plugins: 'ai suggestededits preview powerpaste casechange importcss tinydrive searchreplace autolink autosave save directionality advcode visualblocks visualchars fullscreen image link math media mediaembed codesample table charmap pagebreak nonbreaking anchor tableofcontents insertdatetime advlist lists checklist wordcount tinymcespellchecker a11ychecker editimage help formatpainter permanentpen pageembed charmap tinycomments mentions quickbars emoticons advtable footnotes mergetags autocorrect typography advtemplate markdown revisionhistory importword exportword exportpdf',
418442
editimage_cors_hosts: ['picsum.photos'],
419443
tinydrive_token_provider: (success, failure) => {
420444
success({ token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJqb2huZG9lIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.Ks_BdfH4CWilyzLNk8S2gDARFhuxIauLa8PwhdEQhEo' });
@@ -424,7 +448,7 @@ tinymce.ScriptLoader.loadScripts(['https://cdn.jsdelivr.net/npm/faker@5/dist/fak
424448
tinydrive_google_drive_key: 'AIzaSyAsVRuCBc-BLQ1xNKtnLHB3AeoK-xmOrTc',
425449
tinydrive_google_drive_client_id: '748627179519-p9vv3va1mppc66fikai92b3ru73mpukf.apps.googleusercontent.com',
426450
mobile: {
427-
plugins: 'ai preview powerpaste casechange importcss tinydrive searchreplace autolink autosave save directionality advcode visualblocks visualchars fullscreen image link math media mediaembed codesample table charmap pagebreak nonbreaking anchor tableofcontents insertdatetime advlist lists checklist wordcount tinymcespellchecker a11ychecker help formatpainter pageembed charmap mentions quickbars linkchecker emoticons advtable footnotes mergetags autocorrect typography advtemplate',
451+
plugins: 'ai suggestededits preview powerpaste casechange importcss tinydrive searchreplace autolink autosave save directionality advcode visualblocks visualchars fullscreen image link math media mediaembed codesample table charmap pagebreak nonbreaking anchor tableofcontents insertdatetime advlist lists checklist wordcount tinymcespellchecker a11ychecker help formatpainter pageembed charmap mentions quickbars emoticons advtable footnotes mergetags autocorrect typography advtemplate',
428452
},
429453
menu: {
430454
tc: {
@@ -433,7 +457,7 @@ tinymce.ScriptLoader.loadScripts(['https://cdn.jsdelivr.net/npm/faker@5/dist/fak
433457
}
434458
},
435459
menubar: 'file edit view insert format tools table tc help',
436-
toolbar: "undo redo | importword exportword exportpdf | revisionhistory | aidialog aishortcuts | blocks fontsizeinput | bold italic | align numlist bullist | link image | table math media pageembed | lineheight outdent indent | strikethrough forecolor backcolor formatpainter removeformat | charmap emoticons checklist | code fullscreen preview | save print | pagebreak anchor codesample footnotes mergetags | addtemplate inserttemplate | addcomment showcomments | ltr rtl casechange | spellcheckdialog a11ycheck", // Note: if a toolbar item requires a plugin, the item will not present in the toolbar if the plugin is not also loaded.
460+
toolbar: "undo redo | importword exportword exportpdf | suggestededits | revisionhistory | aidialog aishortcuts | blocks fontsizeinput | bold italic | align numlist bullist | link image | table math media pageembed | lineheight outdent indent | strikethrough forecolor backcolor formatpainter removeformat | charmap emoticons checklist | code fullscreen preview | save print | pagebreak anchor codesample footnotes mergetags | addtemplate inserttemplate | addcomment showcomments | ltr rtl casechange | spellcheckdialog a11ycheck", // Note: if a toolbar item requires a plugin, the item will not present in the toolbar if the plugin is not also loaded.
437461
autosave_ask_before_unload: true,
438462
autosave_interval: '30s',
439463
autosave_prefix: '{path}{query}-{id}-',
@@ -583,10 +607,15 @@ tinymce.ScriptLoader.loadScripts(['https://cdn.jsdelivr.net/npm/faker@5/dist/fak
583607
}
584608
},
585609
revisionhistory_fetch: fetchRevisions,
586-
revisionhistory_author: {
587-
id: 'john.doe',
588-
name: 'John Doe'
589-
},
590610
revisionhistory_display_author: true,
611+
// Suggested Edits plugin configuration
612+
user_id: 'kalebwilson',
613+
fetch_users: (userIds) => Promise.all(userIds
614+
.map((userId) => new Promise((resolve) =>
615+
resolve(suggestededitsUserDb[userId] || { id: userId }))
616+
)),
617+
suggestededits_content: 'html',
618+
suggestededits_access: 'full',
591619
});
592-
});
620+
621+
});

modules/ROOT/examples/live-demos/spellchecker/index.js

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,30 @@ tinymce.init({
33
plugins: 'code tinymcespellchecker link',
44
toolbar: 'spellchecker language spellcheckdialog',
55
height: 500,
6-
spellchecker_language: 'en_US',
6+
spellchecker_language: 'en-US',
77
content_langs: [
8-
{ title: 'Afrikaans (South Africa)', code: 'af_ZA', customCode: 'af_ZA' },
9-
{ title: 'English (Australia)', code: 'en_AU' },
10-
{ title: 'English (Canada)', code: 'en_CA' },
11-
{ title: 'English (United Kingdom)', code: 'en_GB' },
12-
{ title: 'English (United States)', code: 'en_US' },
13-
{ title: 'Medical English (US)', code: 'en_US', customCode: 'en_US-medical' },
14-
{ title: 'Medical English (UK)', code: 'en_GB', customCode: 'en_GB-medical' },
8+
{ title: 'Afrikaans (South Africa)', code: 'af-ZA', customCode: 'af-ZA' },
9+
{ title: 'English (Australia)', code: 'en-AU' },
10+
{ title: 'English (Canada)', code: 'en-CA' },
11+
{ title: 'English (United Kingdom)', code: 'en-GB' },
12+
{ title: 'English (United States)', code: 'en-US' },
13+
{ title: 'Medical English (US)', code: 'en-US', customCode: 'en-US-medical' },
1514
{ title: 'Danish', code: 'da' },
16-
{ title: 'Dutch', code: 'nl_NL' },
15+
{ title: 'Dutch', code: 'nl-NL' },
1716
{ title: 'Finnish', code: 'fi' },
1817
{ title: 'French', code: 'fr' },
19-
{ title: 'German', code: 'de_DE' },
18+
{ title: 'German', code: 'de-DE' },
2019
{ title: 'Hungarian', code: 'hu' },
21-
{ title: 'Italian', code: 'it_IT' },
22-
{ title: 'Maori (New Zealand)', code: 'mi_NZ' },
23-
{ title: 'Norwegian Bokmål', code: 'nb_NO' },
20+
{ title: 'Italian', code: 'it-IT' },
21+
{ title: 'Maori (New Zealand)', code: 'mi-NZ' },
22+
{ title: 'Norwegian Bokmål', code: 'nb-NO' },
2423
{ title: 'Norwegian Nynorsk', code: 'nn' },
2524
{ title: 'Polish', code: 'pl' },
26-
{ title: 'Portuguese (Brazil)', code: 'pt_BR' },
27-
{ title: 'Portuguese (Portugal)', code: 'pt_PT' },
25+
{ title: 'Portuguese (Brazil)', code: 'pt-BR' },
26+
{ title: 'Portuguese (Portugal)', code: 'pt-PT' },
2827
{ title: 'Spanish', code: 'es' },
29-
{ title: 'Swedish', code: 'sv_SE' },
30-
{ title: 'Swedish (Finland)', code: 'sv_FI' }
28+
{ title: 'Swedish', code: 'sv-SE' },
29+
{ title: 'Swedish (Finland)', code: 'sv-FI' }
3130
],
3231
content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:16px }'
3332
});
501 KB
Loading

modules/ROOT/images/scripttag.png

39.4 KB
Loading

modules/ROOT/moxiedoc_nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
*** xref:apis/tinymce.shortcuts.adoc[tinymce.Shortcuts]
1818
*** xref:apis/tinymce.theme.adoc[tinymce.Theme]
1919
*** xref:apis/tinymce.undomanager.adoc[tinymce.UndoManager]
20+
*** xref:apis/tinymce.userlookup.adoc[tinymce.UserLookup]
2021
*** xref:apis/tinymce.windowmanager.adoc[tinymce.WindowManager]
2122
** tinymce.dom
2223
*** xref:apis/tinymce.dom.bookmarkmanager.adoc[tinymce.dom.BookmarkManager]

0 commit comments

Comments
 (0)