Hi Ken,
Thank you for your quick answer, bu I probably didn't explain my problem clearly enough.
So here are the steps I do to reproduce the problem:
1. Open CuteEditor.
2. Press HTML button on the bottom of the editor.
3. Enter HTML code containing JavaScript function as described in my previous post.
3. Call getHTML() API function and get HTML content as a string.
4. Save the string received from getHTML() in my database.
5. Close CuteEditor.
6. Open CuteEditor again.
7. Get the string from the database and call setHTML() API with this string as parameter.
I expect that the string I got from getHTML() will restore exactly the same HTML when transferred to setHTML(), but it doesn't happen.
Where am I mistaken?
Thank you again for your help,
Herev