Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions modules/ROOT/partials/configuration/content_css_cors.adoc
Original file line number Diff line number Diff line change
@@ -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+`
Expand Down
4 changes: 2 additions & 2 deletions modules/ROOT/partials/integrations/react-quick-start.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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].

Expand All @@ -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]
----
Expand Down