Yes, I read all the documentation for the FCKeditor and I have searched the forums, but I cannot find anyone attempting this. And if I did miss this in the docs, then please execuse me this time since I am a nOOb here...
My web application has page layout functions where the user can drop text objects anywhere on the page. I make the text objects editbale by having the user double-click on them to switch to an editing mode. What I'm doing is moving the editor control over the object and resizing it to match the text object to make it appear as if it has become "magically" editable on its own.
Here is my problem: I need to have the default text formatting and background styles (e.g. font-family, background-color, etc.) of the text object being edited appied to the FCKeditor. However, it appears that the EditorAreaStyles configuration property only works when the editor is first instantiated and cannot be changed afterword. It's impractical to have an instance of the editor for every text object. Is there a way to do this or is the EditorAreaStyles cast in stone after being set once?
I can get this to work with the ComponentArt editor and the Cute Editor by simply altering the document.body.style attributes directly. When I try this with FCK, either nothing happens or I get a "permission denied" error in the JavaScript debugger.
I would prefer to use the FCKeditor because ComponentArt's editor is very buggy and the Cute Editor does a lot of weird things to the HTML. I really like the FCKeditor; it does everything I want as far as the text editing and the level of control I need. However, this one problem is the deal-breaker for me as far as using the FCKeditor is concerned.
Can anyone help me here? I don't mind modifying the editor to do what I need, if it comes to that. Can anyone point me in the right direction? Thanks.
FCKeditor version: 2.6, Web application enviroment: ASP .Net 2.0.
My web application has page layout functions where the user can drop text objects anywhere on the page. I make the text objects editbale by having the user double-click on them to switch to an editing mode. What I'm doing is moving the editor control over the object and resizing it to match the text object to make it appear as if it has become "magically" editable on its own.
Here is my problem: I need to have the default text formatting and background styles (e.g. font-family, background-color, etc.) of the text object being edited appied to the FCKeditor. However, it appears that the EditorAreaStyles configuration property only works when the editor is first instantiated and cannot be changed afterword. It's impractical to have an instance of the editor for every text object. Is there a way to do this or is the EditorAreaStyles cast in stone after being set once?
I can get this to work with the ComponentArt editor and the Cute Editor by simply altering the document.body.style attributes directly. When I try this with FCK, either nothing happens or I get a "permission denied" error in the JavaScript debugger.
I would prefer to use the FCKeditor because ComponentArt's editor is very buggy and the Cute Editor does a lot of weird things to the HTML. I really like the FCKeditor; it does everything I want as far as the text editing and the level of control I need. However, this one problem is the deal-breaker for me as far as using the FCKeditor is concerned.
Can anyone help me here? I don't mind modifying the editor to do what I need, if it comes to that. Can anyone point me in the right direction? Thanks.
FCKeditor version: 2.6, Web application enviroment: ASP .Net 2.0.

Re: How does one change the "EditorAreaStyles" on the
Re: How does one change the "EditorAreaStyles" on the