Design and CSS styles
Version 4.x > Design and CSS styles > WYSIWYG Editor behaving oddly View modes: 
User avatar
Member
Member
boondocksaint300999-yahoo - 3/14/2012 11:48:28 AM
   
WYSIWYG Editor behaving oddly
Hello,
I am running the free version of Kentico CMS 4.1. For some reason, the WYSIWYG editor no longer has drop down menus for font, font size, or color. I have added some javascript to the head of the page, but have not made changes to the stylesheets or the WYSIWYG .js file. How do I recover the lost menu items?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/15/2012 2:59:13 AM
   
RE:WYSIWYG Editor behaving oddly
Hi,

What happens if you remove your custom script? It seems that your script is interacting and affecting the WYSIWYG editor scripts. Maybe you should add some logic to enable your script on live site only.

Best regards,
Juraj Ondrus

User avatar
Member
Member
boondocksaint300999-yahoo - 3/19/2012 10:23:05 AM
   
RE:WYSIWYG Editor behaving oddly
Tried pulling the script on sub-pages and told them not to inherit any content from the master page, but it didn't change anything. Will I have to pull the javascript from the master page as well to know if it will make a difference?
Thank you,
Adam

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/25/2012 2:02:56 AM
   
RE:WYSIWYG Editor behaving oddly
Hi,

What happens if you remove them completely? Would it be possible to post the scripts so we can check the issue on our end too?

Best regards,
Juraj Ondrus

User avatar
Member
Member
boondocksaint300999-yahoo - 3/26/2012 12:38:33 PM
   
RE:WYSIWYG Editor behaving oddly
Unfortunately I don't have the option of removing the scripts entirely. The site is live, and removing scripts would drastically change the way the page displays. I will, however, clean up my code and post it in short order.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/27/2012 1:14:07 AM
   
RE:WYSIWYG Editor behaving oddly
Hi,

And what about creating a backup of the live site and try it locally on your machine to remove the scripts to see if it will help.


Best regards,
Juraj Ondrus

User avatar
Member
Member
boondocksaint300999-yahoo - 4/2/2012 10:34:53 AM
   
RE:WYSIWYG Editor behaving oddly
Hey hey,
I pulled out the Java script entirely, and the same elements of the editor remained missing. Could using inline css have caused this? I have also included a screenshot of the problem.
User image
as you can see, the entire editor isn't missing, only part of it.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 4/4/2012 12:41:26 AM
   
RE:WYSIWYG Editor behaving oddly
Hi,

What is the toolbar set to be used for the fields?
Is it on the Page tab - if so, please check the editable web part settings.
Is it on the Form tab - if so, please check the field settings for given document type.

Best regards,
Juraj Ondrus