tinymce / tinymce-react

Offical TinyMCE React component
MIT License
937 stars 152 forks source link

Unable to check your domain because the referer header is missing - React #447

Closed aruljayaraj closed 7 months ago

aruljayaraj commented 1 year ago

When I open the TinyMCE editor on iPhone through Ionic I'm getting the following error.

"We’re unable to check your domain because the referer header is missing. Please read the Guide on how to ensure your referer header is present, so we can then customize your editor experience."

I've already added the Tinymce Cloud Premium Key in the Editor

image

I've used "@tinymce/tinymce-react": "^4.3.0"

exalate-issue-sync[bot] commented 1 year ago

Ref: INT-3167

tiny-james commented 1 year ago

Have you loaded the TinyMCE script on the page separately?

This situation might occur if that script tag is missing the attribute referrerpolicy="origin".

If the tinymce-react Editor component detects TinyMCE is already loaded on the page it will attempt to use it. If there is no script tag loading TinyMCE then the Editor element will create a script tag with the referrerpolicy attribute set to "origin" so this error should not occur.