Kunena-Forum icon indicating copy to clipboard operation
Kunena-Forum copied to clipboard

[CkEditor] Editor does not handle [code] sections as expected

Open RobertvanderHulst opened this issue 4 years ago • 9 comments

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:

  1. Add a [code] section in a message.
  2. Add two lines of code
  3. Add the text foo:DoSomething
  4. Save, see the smiley
  5. 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

RobertvanderHulst avatar Jan 21 '21 15:01 RobertvanderHulst

Thank you for the report, we will looking soon at the issue

github-actions[bot] avatar Jan 21 '21 15:01 github-actions[bot]

This issue is stale because it has been open 30 days with no activity.

github-actions[bot] avatar Feb 22 '21 02:02 github-actions[bot]

Is there any news about when this is fixed ?

RobertvanderHulst avatar Feb 22 '21 19:02 RobertvanderHulst

We are waiting for a fix on the core of ckeditor. Then we will merge the fix.

810 avatar Feb 22 '21 19:02 810

Was this fixed in 5.2.3 ?

RobertvanderHulst avatar Mar 11 '21 20:03 RobertvanderHulst

Is there any news about this ?

RobertvanderHulst avatar Jun 17 '21 06:06 RobertvanderHulst

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

RobertvanderHulst avatar Jul 11 '21 09:07 RobertvanderHulst

Is there an issue filed at ckeditor that we can use to track their progress on these problems?

jepler avatar Jul 16 '21 23:07 jepler

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

Ruud68 avatar Jul 17 '21 08:07 Ruud68