I wanted to save text as XML - I posted here, but have had no answers
I did a google search last night - and from the results, I gather that saving to XML format is not straight forward + no one else has actually done!!
XML file format doesn't really matter too much - all I need to do is to save to a text file
So: what format can I save in, that I can then load again to re-edit?
I read that the demo's with the software save a Javascript?
Can I save as this too?
(I'd also need to create a parser so that my web page can read and load the text - I assume that part is fairly easy)
Thanks
OM
I did a google search last night - and from the results, I gather that saving to XML format is not straight forward + no one else has actually done!!
XML file format doesn't really matter too much - all I need to do is to save to a text file
So: what format can I save in, that I can then load again to re-edit?
I read that the demo's with the software save a Javascript?
Can I save as this too?
(I'd also need to create a parser so that my web page can read and load the text - I assume that part is fairly easy)
Thanks
OM
Re: What format does CKEditor save text as?
That's like asking in what format does posting a form save the text?
It doesn't. If you want to save the CKEditor content in a file or in a database, you have to do that by reading the content from CKEditor (or from the form data if the the form is submitted) and then doing something with it, just like, without CKEditor, you'd have to read the content from the textarea and do something with it.
This link might help with the "saving" part: How to override save operation - the solution