qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
553
stars
104
forks
source link
The content in the text editor is replaced by another language #1369
Describe the bug
When using the Undo function (or CTRL + Z), the text is replaced with another language
To Reproduce
Steps to reproduce the behavior:
Go to post
Write the text in two languages
Switch to the first language and copy the text (some part)
Paste this part of text into the second language
Press CTRL + Z or the Undo button
See the bug
P.S. At first I couldn't reproduce the bug, but then I added styles to the second text and after that I can always reproduce the bug. I absolutely do not understand how it works😅
Expected behavior
I expected that after pressing CTRL(CMD) + Z - I would cancel the last action, i.e. insert CTRL(CMD) + V
{
"cookies": [],
"navigator": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",
"Javascript built-in RegExp: @@split": "supported"
}
Additional context
I have constantly received complaints from my content managers (on completely different sites) that content is often replaced by another language. I said they just messed something up. But as it turned out, there is a bug and I managed to reproduce it on an absolutely clean site where only 2 plugins are installed:
qTranslate-XT
Classic Editor
It works across browsers, without extensions and so on.
This is a very serious problem because my sites have a lot of content. It will not work to prohibit content managers from using "Undo".
Describe the bug When using the Undo function (or CTRL + Z), the text is replaced with another language
To Reproduce Steps to reproduce the behavior:
P.S. At first I couldn't reproduce the bug, but then I added styles to the second text and after that I can always reproduce the bug. I absolutely do not understand how it works😅
Expected behavior I expected that after pressing CTRL(CMD) + Z - I would cancel the last action, i.e. insert CTRL(CMD) + V
GIF
Debug info Versions
Configuration
Browser
Additional context I have constantly received complaints from my content managers (on completely different sites) that content is often replaced by another language. I said they just messed something up. But as it turned out, there is a bug and I managed to reproduce it on an absolutely clean site where only 2 plugins are installed:
It works across browsers, without extensions and so on.
This is a very serious problem because my sites have a lot of content. It will not work to prohibit content managers from using "Undo".