Good Morning,
Been working on a project with ASP.NET AJAX tools and using FCKEditor. One of the items I have done is embedded a editor toolbox inside of a Modal Popup window for editing the page contents. It works really cool except for one thing.
In Internet Explorer (both 6.x and 7.x) all of the command in the toolbar are grayed out and disabled until I click on Source and then back to the HTML.
In Firefox I have no problems.
Now, I am using this command to enable the text box since its in a hidden div (modal popup) for the sake of Firefox that normally the editor doesn't work at all:
FCKeditorAPI.GetInstance("ctl00_MainContent_lblBody").EditorDocument.designMode = "on";
Wondering if anyone else has seen anything like this or might have a solution.
Thanks,
Richard
Been working on a project with ASP.NET AJAX tools and using FCKEditor. One of the items I have done is embedded a editor toolbox inside of a Modal Popup window for editing the page contents. It works really cool except for one thing.
In Internet Explorer (both 6.x and 7.x) all of the command in the toolbar are grayed out and disabled until I click on Source and then back to the HTML.
In Firefox I have no problems.
Now, I am using this command to enable the text box since its in a hidden div (modal popup) for the sake of Firefox that normally the editor doesn't work at all:
FCKeditorAPI.GetInstance("ctl00_MainContent_lblBody").EditorDocument.designMode = "on";
Wondering if anyone else has seen anything like this or might have a solution.
Thanks,
Richard
Re: Buttons grayed out until click on source
I would recommend you to use the "MakeEditable" function instead:
It is cross browser. For the hidden DIVs, this is a Firefox bug and all we can do is doing the above call. We are working on a possible fix for it for version 2.5.
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: Buttons grayed out until click on source
Thanks,
Richard