CKeditor settings ignored
CKeditor settings ignored
4 years 6 months ago - 4 years 6 months ago
Hi,
I'm trying to limit the buttons for the CKeditor, but the settings in the template seems to be ignored. For testing I only allowed three buttons (bold, italic and underline), but the editor still shows all buttons. (see screenshots attached).
Do you have any suggestion how to fix this?
Greetings
Erich
Joomla 3.10.2
Kunena 5.2.6
Nts_kay 5.4.8
I'm trying to limit the buttons for the CKeditor, but the settings in the template seems to be ignored. For testing I only allowed three buttons (bold, italic and underline), but the editor still shows all buttons. (see screenshots attached).
Do you have any suggestion how to fix this?
Greetings
Erich
Joomla 3.10.2
Kunena 5.2.6
Nts_kay 5.4.8
Last edit: 4 years 6 months ago by ew. Reason: Versions added
Please Log in or Create an account to join the conversation.
Re: CKeditor settings ignored
4 years 6 months ago
Hi ew,
I checked this issue. The Configure works just fine with the BBCode editor. The error also appears on all the Kunena default template. First step try to open the ckeditor_config.js file in the "media\kunena\core\js" path and disable some groups you don't want theme to show. Next step we will continue to find a solution to this issue.
Best regards,
I checked this issue. The Configure works just fine with the BBCode editor. The error also appears on all the Kunena default template. First step try to open the ckeditor_config.js file in the "media\kunena\core\js" path and disable some groups you don't want theme to show. Next step we will continue to find a solution to this issue.
Best regards,
Hung Pham
Email: 9themestore@gmail.com
Twitter: @9themestore
Email: 9themestore@gmail.com
Twitter: @9themestore
The following user(s) said Thank You: ew
Please Log in or Create an account to join the conversation.
Re: CKeditor settings ignored
4 years 6 months ago
Hi Hung,
Wow!!! Thank you for the very prompt answer!
I was able to eliminate some groups as an interim quick fix. I only was able to disable on group-level but not on item level.
Sounds good to hear you are working on a solution. - looking forward seeing the result...
Again: many thanks for the very responsive support!
Erich
Wow!!! Thank you for the very prompt answer!
I was able to eliminate some groups as an interim quick fix. I only was able to disable on group-level but not on item level.
Sounds good to hear you are working on a solution. - looking forward seeing the result...
Again: many thanks for the very responsive support!
Erich
Please Log in or Create an account to join the conversation.
Re: CKeditor settings ignored
4 years 6 months ago - 4 years 6 months ago
Hi,
I have posted this problem on the Kunena forum and actually the configuration in the kunena template's back-end is not for the CKeditor. So I found the solution for you to hidden the button you want.
Open the ckeditor_config.js file and add below code to about line 48:
List all buttons want to hide to the above list. Hope my solution will help you to solve your desired problem.
I have posted this problem on the Kunena forum and actually the configuration in the kunena template's back-end is not for the CKeditor. So I found the solution for you to hidden the button you want.
Open the ckeditor_config.js file and add below code to about line 48:
Code:
// Remove all button you want
config.removeButtons = 'Bold,Italic,Underline,Image';
List all buttons want to hide to the above list. Hope my solution will help you to solve your desired problem.
Hung Pham
Email: 9themestore@gmail.com
Twitter: @9themestore
Email: 9themestore@gmail.com
Twitter: @9themestore
Last edit: 4 years 6 months ago by ntstore.
Please Log in or Create an account to join the conversation.
Re: CKeditor settings ignored
4 years 6 months ago
Hi Hung,
thanks for your suggestion - I'll give it a try but I'm sure this will work for me.
BR
Erich
thanks for your suggestion - I'll give it a try but I'm sure this will work for me.
BR
Erich
Please Log in or Create an account to join the conversation.
Re: CKeditor settings ignored
4 years 6 months ago
Hi,
for all having the same problem:
Create a new file in htdocs\media\kunena\core\js and name it MYSETTINGSckeditor_config.js (you can replace the prefix "MYSETTINGS" with whatever you like).
Use the toolbar configurator ckeditor.com/latest/samples/toolbarconfi...tor/index.html#basic and design your toolbar.
Click on "Get T Toolbar config" and copy the content to your new file.
In Joomla Kunena config go to the Nts_kay template settings -Bbcode and set "Editor to user" to "CKedtior". Scroll down to the last setting "Set the name of the prefix to load a custom config file for CKeditor" and enter the prefix ("MYSETTINGS") from above.
Save and exit.
The editor now uses the settings from your file you designed with the designer.
Maybe this will save somones work.
br
Ercih
for all having the same problem:
Create a new file in htdocs\media\kunena\core\js and name it MYSETTINGSckeditor_config.js (you can replace the prefix "MYSETTINGS" with whatever you like).
Use the toolbar configurator ckeditor.com/latest/samples/toolbarconfi...tor/index.html#basic and design your toolbar.
Click on "Get T Toolbar config" and copy the content to your new file.
In Joomla Kunena config go to the Nts_kay template settings -Bbcode and set "Editor to user" to "CKedtior". Scroll down to the last setting "Set the name of the prefix to load a custom config file for CKeditor" and enter the prefix ("MYSETTINGS") from above.
Save and exit.
The editor now uses the settings from your file you designed with the designer.
Maybe this will save somones work.
br
Ercih
The following user(s) said Thank You: ntstore
Please Log in or Create an account to join the conversation.
Re: CKeditor settings ignored
4 years 6 months ago
Thank you Ercih,
This is very useful tip for all our customers want to use the CKeditor editor.
Thank again.
This is very useful tip for all our customers want to use the CKeditor editor.
Thank again.
Hung Pham
Email: 9themestore@gmail.com
Twitter: @9themestore
Email: 9themestore@gmail.com
Twitter: @9themestore
Please Log in or Create an account to join the conversation.
Time to create page: 0.281 seconds