-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
TinyMCE4 does not work in Chrome 85.0.4183.102 #7615
Comments
But they are fine in the identity editor? Are you sure you're using HTML mode for mail compose? |
Hi Alec, Yes for both, and confirmed in the identities table, it has html_signature=1 |
Wait! defaults.inc.php now has htmleditor=0 and before it used to have =1 Thank you for helping me, i'm going to insert this config in my config.inc.php for now having trouble in the future, |
Hi Alec, you may need to reopen this. There's an extra issue in last chrome with the html signature, you can use the one that is in the 1st post.
and the textmessage box is inactive
Let me know, PS: Sent you an test account via email in the test at alec pl, only happens in chrome. latest FF or EDGE (the new one) works ok. |
@dddns I was not able to reproduce the issue using Chromium 85.0.4183.83. |
Alec, Here's a video i've made with the test account i sent you, are you able to check whats wrong with this? |
Check browser console for errors. What happens in Identities, as well as in compose suggests a javascript error. What exact version is chrome latest you're using? |
Alec, Check these images if helps, |
So, now we know that TinyMCE 4.8.2 throws an error in lastest chrome. What chrome version is this? |
85.0.4183.102 |
It works in Chorme 85.0.4183.83. I think we have to test if TinyMCE 4.8.5 or 4.9.11 would work without issues. Update to 5.x might be too big of an exercise for Roundcube 1.4. |
Great Alec, |
Alec, I replaces files in program/js/tinymce, with version 4.8.5, 4.9.5 and 4.9.11, and same behavior, |
Try this:
diff --git a/jsdeps.json b/jsdeps.json
index cb9efae89..52254e7ed 100644
--- a/jsdeps.json
+++ b/jsdeps.json
@@ -36,10 +36,10 @@
},
{
"lib": "tinymce",
- "version": "4.8.2",
- "url": "https://download.tiny.cloud/tinymce/community/tinymce_$v.zip",
+ "version": "4.9.11",
+ "url": "https://download.tiny.cloud/tinymce/community/tinymce_$v_dev.zip",
"dest": "program/js",
- "sha1": "d7fced05acdeeb78299585ea9909b0de2b3d759d",
+ "sha1": "524a3daf79703b0c8de4ffa303b9ccb05731a397",
"license": "LGPL",
"copyright": "Copyright (c) 1999-2015 Ephox Corp. All rights reserved",
"rm": "program/js/tinymce",
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 1ab3dcc4f..fe22fe650 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -2107,7 +2107,7 @@ class rcmail extends rcube
}
}
- $this->output->include_script('tinymce/tinymce.min.js');
+ $this->output->include_script('tinymce/tinymce.js');
$this->output->include_script('editor.js');
}
diff --git a/program/js/editor.js b/program/js/editor.js
index 552de9a79..43b726b5f 100644
--- a/program/js/editor.js
+++ b/program/js/editor.js
@@ -39,7 +39,7 @@ function rcube_text_editor(config, id)
abs_url = location.href.replace(/[?#].*$/, '').replace(/\/$/, ''),
conf = {
selector: '#' + ($('#' + id).is('.mce_editor') ? id : 'fake-editor-id'),
- cache_suffix: 's=4080200',
+ cache_suffix: 's=40091100',
theme: 'modern',
language: config.lang,
content_css: rcmail.assets_path(config.content_css),
|
Alec, root@webservices:/home/hosting/dhosting.pt/webmail# php bin/install-jsdeps.sh tinymce |
Looks like you didn't apply the patch properly. it should be fetching tinymce-4.9.11_dev.zip. |
Or rather you have to remove temp/js_cache/tinymce-4.9.11.zip file. |
Alec, There's another way i can do it? Can i just overwite the files in program/js/tinymce ? I have the version forced in jsdeps.json: root@webservices:/home/hosting/dhosting.pt/webmail# php bin/install-jsdeps.sh tinymce |
Alec, I replaced the files in the dir, and made the changes manually in the patch, here's the output, is there anything that helps? |
No, it isn't. It's still using minified files. Remove temp/js_cache/tinymce-4.9.11.zip file, apply the whole patch properly and run install-jsdeps. |
Alec, Could you include the 4.9.11 version in next roundcube version 1.4.9? |
Ok, that's a plan. Looks like we might need the release soon. |
Thank you Alec for all the help! |
Fixed. |
google just released a new version, 85.0.4183.121 aswell. |
Howdy,
I upgraded from 1.4.1 to 1.4.8, and where i have identities with signatures that contain images, they are not present when i create a new message.
Attach there's the identity raw source with the image in base64,
I tried old signatures that already existed, and creating a new one, same behavior,
If there's anything that is needed from me let me know.
identity.txt
The text was updated successfully, but these errors were encountered: