Tiny MCE save problem
-
Hi guys. i have just started to use Tiny MCE and i need to use its save button. But i couldnt find any example on the net. I have an sql database and i need to write this data after pressing save button. Do you have any code snippet with it. And another question. Do you know tiny mce supports undeletable constant strings.
-
Hi guys. i have just started to use Tiny MCE and i need to use its save button. But i couldnt find any example on the net. I have an sql database and i need to write this data after pressing save button. Do you have any code snippet with it. And another question. Do you know tiny mce supports undeletable constant strings.
The button may be fake, and requires to be wired up using the form tag's submit behavior. In other words, you have to write a function to capture the data from the javascript object, using form submit, and modify the form tag to fire the function on submit. That's how it works for ckEditor, I assumeit may be the same for tiny MCE. On ckEditor, the toolbar save button is fake, so you have to make your own button, and function, or wire up the form tag to make the toolbar button work.