Kunena-Forum
Kunena-Forum copied to clipboard
[CkEditor] Editor does not handle [code] sections as expected
Describe the bug The new editor does not properly handle [code] sections. I see a least these problems:
- Inside a code section it interprets smileys (like foo:DoSomething)
- When you save a message and edit again the line breaks in the code section are removed
- When you save a message and open it for editing again then the code section is formatted and not "ready to edit".
To Reproduce Steps to reproduce the behavior:
- Add a [code] section in a message.
- Add two lines of code
- Add the text foo:DoSomething
- Save, see the smiley
- Reopen and see that the formatting is gone and the [code] markers are not there when you open the message.
Expected behavior That it works like it did in previous versions of Kunena (5.1.19) and Blue Eagle (1.5.5)
Actual result See description.
System information (please complete the following information)
Joomla version: 3.9.24 Kunena version: 5.2.1 Kunena template name and version: Blue Eagle 1.6.1 Php version: 7.4.14 Database version: 5.5.5-10.3.27-MariaDB-1:10.3.27+maria~focal
Desktop (please complete the following information):
- OS: Windows
- Browser FireFox and Chrome
Additional context I have rolled back to Kunena 5.1.19 and Blue Eagle 5 v1.5.5 for now
Thank you for the report, we will looking soon at the issue
This issue is stale because it has been open 30 days with no activity.
Is there any news about when this is fixed ?
We are waiting for a fix on the core of ckeditor. Then we will merge the fix.
Was this fixed in 5.2.3 ?
Is there any news about this ?
Jelle,
We are waiting for a fix on the core of ckeditor. Then we will merge the fix.
Is there any news about this. We are still at Kunena 5.1.19 and blocking updates until this is fixed.
Robert
Is there an issue filed at ckeditor that we can use to track their progress on these problems?
I just tried to replicate this issue, but for me it works okay. could you try #8202 as that is what I have installed on my site to fix multiple (including [code][/code]) issues just replace the ckeditor.js file with the one in the PR