I am currently evaluating whether FCKeditor is suitable for my requirements. So far, I am very much satisfied with this editor. Thanks FredCK and other developers.
I am having a question regarding how to transfer the content using JavaScript. We have a page where only specific part of the page should be edited by users. So when users click on the specific part, we will open a popup page with editor loaded with that specific content.
Now once the content is edited, I want to set the edited content back to the opener page using JavaScript. I don't want to do a POST submit to any URL. I want to know how to get the edited content as JavaScript string object in the popup page where the editor is loaded, so that I can set the content back to the opener page.
Thanks in advance.
PS: I searched the forum and couldn't find anything useful. Sorry if I have missed it.
I am having a question regarding how to transfer the content using JavaScript. We have a page where only specific part of the page should be edited by users. So when users click on the specific part, we will open a popup page with editor loaded with that specific content.
Now once the content is edited, I want to set the edited content back to the opener page using JavaScript. I don't want to do a POST submit to any URL. I want to know how to get the edited content as JavaScript string object in the popup page where the editor is loaded, so that I can set the content back to the opener page.
Thanks in advance.
PS: I searched the forum and couldn't find anything useful. Sorry if I have missed it.
RE: How to read edited content thru' JavaScript?
I have even been successful at coding a JavaScript based loading activity indicator for FCKeditor due to the amount of time it takes for this editor to load. Once loaded I reuse the FCKeditor across all uses using JavaScript and DHTML.
I have found FCKeditor to be as easy to use programmatically as any other WYSIWYG HTML Editor - just to give a shameless plug.
RE: How to read edited content thru' JavaScri
If you take a look at http://www.mcpuk.net/fbxp/downloads/sample05.phps this
demonstrates using one editor to edit three content panes
using javascript, the actuall editor is constructed using the php
integration script but all you are really after is the JS code on the
page. Hope this is of some use to you, let us know how you get
on...
RE: How to read edited content thru' JavaScript?
I am using this kind of utility methods to integrate and use the FCKeditor with my application (to decouple and make easier to plug-in other editors). Once I test it properly, will share it with others.