Kunena / Kunena-Forum

Kunena Forum - Forum / Bulletin Board / Discussions component for Joomla - This is the 6.x/5.x main development branch. Please do not open issues regarding earlier versions of Kunena
https://www.kunena.org
GNU General Public License v3.0
1.75k stars 812 forks source link

Switching to SCeditor and back to CKeditor removes the smiley button #9717

Closed rich20 closed 4 months ago

rich20 commented 4 months ago

Describe the bug https://www.kunena.org/forum/k-6-3-0-support/168515-ckeditor-the-emoticon-icon-disappears#231812 Confirmed

To Reproduce

  1. go to Aurelia (tab BBcode)
  2. select the SCeditor and save
  3. open again the tab BBcode
  4. switch back to the CKeditor and save
  5. click on Reply or New topic in the frontend

Actual result No smiley symbol in the editor

Additional context The icon can only be restored by clicking on Restore in the Aurelia settings

System information

Desktop

Pinkeltje commented 4 months ago

Joomla 5.1.2 Kunena 6.3.3

Restored to default 2024-07-16 Screenshot 499

Changed settings 2024-07-16 Screenshot 500

Smileys gone, x button still visible. See also #9698 2024-07-16 Screenshot 501

FYI: This problem doesn't exist in Kunena 6.3.1. Only problem there is that when x logo is enabled it doesn't show the icon. But button can be disabled. Tried to find differences, but no luck.

Leen29 commented 4 months ago

problem is also in kunena 6.3.3

rich20 commented 4 months ago

problem is also in kunena 6.3.3

K 6.3.3 had already been released when I wrote this ticket

Leen29 commented 4 months ago

the difference 631 is smiley line filed 260 > 263 is not there in new version 633 config.xml if I add that extra the emoticons seem to stay after changing only just like the X it is then no longer possible to turn it off namesmilynotthere

Pinkeltje commented 4 months ago

I think it is caused by this #9689 There are 2 different field names: emoticons and smileys. As far as I can see emoticons is used by SCEditor and smileys by CKEditor. See also administrator\components\com_kunena\src\Controller\TemplateController.php lines 251 and 347