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 813 forks source link

Remove X button from CKEditor toolbar no longer works #9698

Open rich20 opened 1 week ago

rich20 commented 1 week ago

Describe the bug https://www.kunena.org/forum/general-questions-and-how-tos/168492-remove-x-button-from-ckeditor-toolbar Confirmed

To Reproduce Select in the Aurelia configuration (tab BBcode) Show X symbol = No

Actual result The symbol is still displayed in the editor

Additional context It is possible that it no longer works due to the switch from Twitter to X.

Gindi50 commented 5 days ago

I am somewhat puzzled by this error message. In my installations, Ebay symbol in the editor, X symbol in the editor, Instagram symbol in the editor and Soundcloud symbol in the editor are listed in /Aurelia/BBCode, but in the frontend in the editor menu bar only "Tweet", (invisible without button) "Ebay", "soundcloud" and "instagram" are displayed in this group. I can also switch these visible buttons on and off in /Aurelia/BBCode. An "X" or "Twitter" button is not available, so "X symbol in editor" has no function. I also could not find this button in /libraries/kunena/src/BBCode/KunenaBBCode.php, /aurelia_editor.xml and editor.xml. "Tweet", "Ebay", "soundcloud" and "instagram" are mentioned there and have functions there.

Pinkeltje commented 3 days ago

Don't know if it helps, but in 6.3.1 at least hiding the button worked. Showing button no image displayed. 2024-06-28 Screenshot 475 2024-06-28 Screenshot 476

More findings; When renaming \core\js\plugins\twitter\icons**x_logo.png to twitter.png** and changing line 11 in plugin.js to CKEDITOR.plugins.add( 'twitter', { icons: 'twitter', x logo is shown.

In 6.3.3. dev when putiing back \core\js\plugins\twitter from 6.3.1 and deleting \core\js\plugins\x and changing params.ini Line 57 back to Twitter="0" and line 65 back to editorButtons="Smiley,Ebay,Twitter,Instagram,Soundcloud" It works in 6.3.3. dev as well.