Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE 10 and up: Language Switching Buttons do not change content in TinyMCE fields #115

Closed
herrvigg opened this issue Jun 21, 2018 · 2 comments
Labels
bug Something isn't working, reproducible legacy issue Legacy issue imported from original repo

Comments

@herrvigg
Copy link
Collaborator

herrvigg commented Jun 21, 2018

Issue by johnclause
Friday Apr 03, 2015 at 01:14 GMT
Originally opened as qTranslate-Team/qtranslate-x#115


Apparently same issue reported in a few places:
https://wordpress.org/support/topic/unstable-under-ie11
https://wordpress.org/support/topic/buttons-dont-change-content-in-tinymce-fields-in-ie10-possible-fix

In short:

  1. The language switching buttons are, most of the time, not switching the content in TinyMCE.
    When editing content in WYSIWYG-area and updating the post, all changes are lost.
  2. A, sometimes, working solution is to switch to the raw editor and after that use the language switching buttons, or update the post. But this is inconsistent and not stable at all.
  3. No JS errors is reported in the F12 console.

Other user observation:

Not sure if this is actually a bug (maybe someone can confirm) or some plugin conflict BUT, after hacking away at admin/js/common.js I discovered the following:

  • window.addEventListener('load', function(){ ... }); works to register tinyMCE.editors in Chrome but not in IE (weird?)
  • "I have no idea what i'm doing but it's fixed": wrap everything up from inside the 'load' function in a setTimeout() with 1000 to give IE a chance to "LOAD" load the loaded page. (sheesh)
@herrvigg herrvigg added the legacy issue Legacy issue imported from original repo label Jun 21, 2018
@herrvigg herrvigg added legacy PR Legacy PR imported from original repo and removed legacy issue Legacy issue imported from original repo labels Jun 22, 2018
@herrvigg herrvigg changed the title fr_FR translation before version 3.3 release IE 10 and up: Language Switching Buttons do not change content in TinyMCE fields Jun 23, 2018
@herrvigg herrvigg reopened this Jun 23, 2018
@herrvigg herrvigg added bug Something isn't working, reproducible legacy issue Legacy issue imported from original repo and removed legacy PR Legacy PR imported from original repo labels Jun 23, 2018
@herrvigg
Copy link
Collaborator Author

Comment by johnclause
Sunday Apr 05, 2015 at 07:36 GMT


Please, try the latest development version
https://github.com/qTranslate-Team/qtranslate-x/releases/tag/3.2.9.8

@herrvigg
Copy link
Collaborator Author

Comment by johnclause
Friday Apr 10, 2015 at 17:51 GMT


I assume this can be closed, we can still write into a closed issue, or we can re-open it, if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working, reproducible legacy issue Legacy issue imported from original repo
Projects
None yet
Development

No branches or pull requests

1 participant