I managed to add FCKEditor to a Delphi2006.Net application. The web application assigned the string value (from a text file). After editing the string I ran into a problem extracting the edited value back into the text file.
I did some testing and found out that the edited value is not returned (unchanged). e.g.
LongString:='This is a long string from the original file';
FCKEditor1.value:=LongString; // this works!
// i now edit the text on the FCKEditor and added the line - 'THIS IS AN ADDED LINE'
FCKEditor.value should now be: ''This is a long string from the original file THIS IS AN ADDED LINE'
But when I assigned it to a var, LongString:=FCKEditor1.value;
I still get the old value.
Is this a bug in FCKEditor or am I doing something wrong?
I did some testing and found out that the edited value is not returned (unchanged). e.g.
LongString:='This is a long string from the original file';
FCKEditor1.value:=LongString; // this works!
// i now edit the text on the FCKEditor and added the line - 'THIS IS AN ADDED LINE'
FCKEditor.value should now be: ''This is a long string from the original file THIS IS AN ADDED LINE'
But when I assigned it to a var, LongString:=FCKEditor1.value;
I still get the old value.
Is this a bug in FCKEditor or am I doing something wrong?
Re: Saving FCKEditor.Value
Re: Saving FCKEditor.Value
Re: Saving FCKEditor.Value
Re: Saving FCKEditor.Value
I have followed the implementation as guided by the FCKeditor/ASP.NET writeups. The program seems to work at a certain point. The only problem I need to tackle is to capture the edited text from the editor so that I can save it to a var or datatable.
If you look at Subsonic (see http://subsonicproject.com/) and run the program you can appreciate how well it uses the FCKEditor in ASP.NET. I wanted the same implementation.
Re: Saving FCKEditor.Value
as I said, it will be quite hard to help you here unless someone appears and tell you how to call javascript from Delphi.
Re: Saving FCKEditor.Value
Re: Saving FCKEditor.Value
Maybe you can use my ajaxPost plugin for the client side javascript and just pick the posted content up at server side with any scripting language you like, see http://fckplugins.saulmade.nl/
Re: Saving FCKEditor.Value
Hi,
. Will this work with ASP.NET implementation? I might just start toying with it.
I visited your fckeditor plugin site. The plugins sure look very impressive
As far as saving the value, I think I found the problem. It has something to do with postback issues making the old values reloaded rather than updated. It my hunch work I will keep this thread posted and close.