-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Javascript error when trying to edit embedded video (TinyMCE) #10737
Comments
Hi @benwallis, I did not manage to reproduce the issue with PS: 1.7.4.2. Best regards, Khouloud |
Ah, it seems to only happen in Chrome browser. I believe the issue is fixed by TinyMCE v4.5.6 |
HI @benwallis, Have you the same issue with this ticket: #9651? Best regards, Khouloud |
Hi @benwallis, Since we had no news from you for more than 30 days, I'll close this ticket. Feel free to open another one if you can give specific details. |
Hi @benwallis, Despite our several trials, we could not reproduce your issue with the provided information. Thanks! |
I'm not @beniwal ... Anyway, as I mentioned above it's a known issue in TinyMCE and Chrome. Prestashop needs to use an updated version of TinyMCE - this specific issue was fixed in TinyMCE 4.5.6 https://www.tiny.cloud/docs-4x/changelog/#version456-march302017 Latest version of TinyMCE is 5.1 See here: tinymce/tinymce#3611 (comment) Prestashop is currently using modified TinyMCE 4.0.16 released January 31 2014... |
Describe the bug
After embedding a video in a product description, clicking on the object in the textarea causes a Javascript error to be reported in console, so the embed can not be edited.
Uncaught DOMException: Failed to execute 'setBaseAndExtent' on 'Selection': There is no child at offset 1.
To Reproduce
Steps to reproduce the behavior:
Additionnal information
PrestaShop version: 1.7.4.2
PHP version: 7.1.12
The text was updated successfully, but these errors were encountered: