• Resolved Azamat Xodjakov

    (@azamat88)


    I have a fields that works with TinyMCE on the page. The TinyMCE is loaded from the default WordPress js files:

    https://index.cy/wp-includes/js/tinymce/tinymce.min.js

    Inside this tinymce.min.js file TinyMCE loads it’s default theme called “modern”. The URL to that theme file is created dynamically using TinyMCE’s document_base_url handle.

    GTranslate is adding a language segment to that dynamic URL causing 404 error for the theme file. The script should be loading this file, which exists:

    https://index.cy/wp-includes/js/tinymce/themes/modern/theme.min.js

    But it’s loading this URL instead (notice the /ru/ segment):

    https://index.cy/ru/wp-includes/js/tinymce/themes/modern/theme.min.js

    How can I exclude dynamically created URLs from getting translated? I’ve already tried to set the document_base_url for the TinyMCE init but it didn’t work.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    Please contact our live chat for questions related to our paid version: https://gtranslate.io/#contact

    This forum is for free version users only. WordPress forum rules prohibit providing support about paid version.

    Thanks! ??

Viewing 1 replies (of 1 total)
  • The topic ‘Exclude dynamic URLs in scripts’ is closed to new replies.