From f7be0319500fdee776798e2646a8952a03467d46 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 25 Aug 2025 13:34:53 +1000 Subject: [PATCH 1/2] DOC-3261: Update react-quick-start documentation to use new links for the React component and SWC plugin. (#3829) --- modules/ROOT/partials/integrations/react-quick-start.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ROOT/partials/integrations/react-quick-start.adoc b/modules/ROOT/partials/integrations/react-quick-start.adoc index 9f9b507c05..64f5e8214d 100644 --- a/modules/ROOT/partials/integrations/react-quick-start.adoc +++ b/modules/ROOT/partials/integrations/react-quick-start.adoc @@ -4,7 +4,7 @@ ifeval::["{productUse}" == "bundle"] IMPORTANT: {companyname} does not recommend bundling the `tinymce` package. Bundling {productname} can be complex and error prone. endif::[] -The https://github.com/tinymce/tinymce-react[Official {productname} React component] integrates {productname} into React projects. This procedure creates a https://github.com/vitejs/vite-plugin-react-swc[basic React application] containing a {productname} editor. +The link:https://github.com/tinymce/tinymce-react[Official {productname} React component] integrates {productname} into React projects. This procedure creates a link:https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react-swc[React SWC plugin] containing a {productname} editor. For examples of the {productname} integration, visit https://tinymce.github.io/tinymce-react/[the tinymce-react storybook]. @@ -14,7 +14,7 @@ This procedure requires https://nodejs.org/[Node.js (and npm)]. == Procedure -. Use the https://github.com/vitejs/vite[Vite] package and the https://github.com/vitejs/vite-plugin-react-swc[React SWC plugin] to create a new React project named `+tinymce-react-demo+`. +. Use the https://github.com/vitejs/vite[Vite] package and the link:https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react-swc[React SWC plugin] to create a new React project named `+tinymce-react-demo+`. + [source,sh] ---- From 49a5baf63d7ec32a36342bf3e2fc209bce6d927f Mon Sep 17 00:00:00 2001 From: michalnieruchalski-tiugo Date: Mon, 25 Aug 2025 09:32:53 +0200 Subject: [PATCH 2/2] DOC-3267: Deprecate content_css_cors option --- modules/ROOT/partials/configuration/content_css_cors.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ROOT/partials/configuration/content_css_cors.adoc b/modules/ROOT/partials/configuration/content_css_cors.adoc index 5f7e3dc4e3..6f63800d97 100644 --- a/modules/ROOT/partials/configuration/content_css_cors.adoc +++ b/modules/ROOT/partials/configuration/content_css_cors.adoc @@ -1,6 +1,8 @@ [[content_css_cors]] == `+content_css_cors+` +IMPORTANT: This option has been marked as *deprecated*. It will be completely removed in the upcoming {productname} 9.0 release. As an alternative, we recommend using xref:tinymce-and-cors.adoc#crossorigin[`crossorigin`] instead. + When `+content_css_cors+` is set to `+true+`, the editor will add a `+crossorigin="anonymous"+` attribute to the link tags that the StyleSheetLoader uses when loading the `+content_css+`. This allows you to host the `+content_css+` on a different server than the editor itself. *Type:* `+Boolean+`