Hi,
I have deployed CKEditor 3.6.1 on my ASP.NET application and i am trying to figure out some questions that i could not find answer on the documentation.
First of all, which property should i use to get/set the text of the editor? I am using the property Text. However, when i edit the previous added text and cause a postback, getting the text is returning the original text without the changes made by the user. Am i doing something wrong?
Another question is, how can i choose which toolbars that are avaliable? Can this be done on code behind?
Last but not least, how can i insert some content on the editor through javascript?
Regards and thanks in advance for the help,
I have deployed CKEditor 3.6.1 on my ASP.NET application and i am trying to figure out some questions that i could not find answer on the documentation.
First of all, which property should i use to get/set the text of the editor? I am using the property Text. However, when i edit the previous added text and cause a postback, getting the text is returning the original text without the changes made by the user. Am i doing something wrong?
Another question is, how can i choose which toolbars that are avaliable? Can this be done on code behind?
Last but not least, how can i insert some content on the editor through javascript?
Regards and thanks in advance for the help,
Re: CKEditor 3.6.1 Questions
See http://docs.cksource.com/CKEditor_3.x/H ... r_Contents and http://docs.cksource.com/CKEditor_3.x/D ... de/Toolbar.
In general, if you start tinkering with CKEditor, I recommend browsing the HOWTO articles, the Developers Guide and, perhaps most importantly, the samples that are available in the "_samples" folder of your CKEditor installation package. Read the explanations, see the source code and you should learn a lot in no time
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: CKEditor 3.6.1 Questions
I followed your sugestion and gave a more complete look on the documentation and was able to solve some of my problems.
But, even with the documentation i wasn't able to find the answer to some questions which are:
- can the content be maintaned betweeen postbacks?
- how can i set and get the content of the editor on code behind? (you pointed me to the javascript api which does the job but i am trying to make this on code behind and using the field Text doesn't seem to work)
Regards,