-
-
Notifications
You must be signed in to change notification settings - Fork 811
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
发帖时没有编辑选项 #9701
Comments
Thank you for the report, we will looking soon at the issue |
So what is the issue ? |
Fail to load
…--------原始邮件--------
2024年6月28日 上午2:12,Florian DAL FITTO 来信:
So what is the issue ?
—
Reply to this email directly, [view it on GitHub](#9701 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/BCYTMSGMUPOI2I5CS7VGV5LZJRI2NAVCNFSM6AAAAABJ56M7V2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJVGM4DIMBWGA).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Please provide more details : Kunena version used, kunena template used In which case it doesn't load like you show ti on your second screenshot ? |
@17gather Please post the problem in the forum: https://www.kunena.org/forum/recent |
This issue is stale because it has been open 30 days with no activity. |
I can reproduce the issue. Correct title for this issue would be 'Message editor does not load'. I can only reproduce the issue in Chrome, not in Firefox, btw. |
Maybe a cache problem. |
Why was this closed? I can reproduce it right here. It is NOT a cache problem. |
Firefox seems to be a bit more lenient, as it does not crash out on the following JS when the particualr language file cannot be loaded. |
I did not write that the language pack is not installed. I wrote that there are missing files for CKeditor. The Kunena language pack does not add any .js files to that directory, but in my Kunena installation for a Spanish user the editor starts to look for a file /media/kunena/core/js/lang/es.js - which does not exist and causes the editor window not to load. Why does it do that? I am trying to figure that out right now. |
I might have a lead what is going on. Anyway, in our particular configuration however we have es-MX as language saved as default in the user profile. The language does not exist in the site, anymore, and Joomla is handling this gracefully. Kunena however tries to load the language file for the non-existing language, failing to do so, and so the editor does not appear. This imho happens because in ckeditor_config.js just sets whatever is set as language in the user profile without checking if the language does even exist in Joomla.
See ckeditor.php
|
Fix: In the top of ckeditor.php add
Following lines after the above code would imho fix this:
|
This issue is stale because it has been open 30 days with no activity. |
Thanks @c-schmitz : i have applied your change : 766c519 |
This issue is stale because it has been open 30 days with no activity. |
The text was updated successfully, but these errors were encountered: