You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/partials/configuration/crossorigin.adoc
-21Lines changed: 0 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,26 +53,5 @@ When loading {productname} from {cloudname}:
53
53
* For stylesheet resources, the `+content_css_cors+` option takes precedence over the `+crossorigin+` function. See: xref:add-css-options.adoc#content_css_cors[content_css_cors] for details about cross-origin stylesheet loading.
54
54
====
55
55
56
-
=== Setting a global crossorigin function
57
-
58
-
The crossorigin function can also be set globally using `+tinymce.overrideDefaults()+`:
// Returning 'anonymous' or 'use-credentials' here would explicitly set the attribute
66
-
return 'anonymous';
67
-
// return 'use-credentials';
68
-
// return undefined; // Omit the 'crossorigin' attribute for all resources by returning undefined
69
-
}
70
-
});
71
-
----
72
-
73
-
[IMPORTANT]
74
-
====
75
-
When using {cloudname}, preserving the existing defaults is required. Always include `+...tinymce.defaultOptions+` when using `+overrideDefaults+`.
76
-
====
77
56
78
57
For more details on the crossorigin attribute, see: link:https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin[MDN Web Docs - HTML attribute: crossorigin].
0 commit comments