I have ckeditor on a webpage.
Just before the user closes the webpage (or navigates away from the webpage), I would like to save the state of the ckeditor's toolbar, and reload the same toolbar state when the user visits the webpage again.
Simple example:
- User opens the webpage containing ckeditor.
- User clicks on the buttons Bold, Italic, Underline and sets the font color to red.
- User types his message in ckeditor and posts his message to the server.
- User closes the browser, or navigates to some other page.
- After a few minutes, user visits again the webpage containing ckeditor.
- The buttons Bold, Italic, Underline are already set and the font color is already set to red.
Can somebody provide a solution how to make this work?
Thanks
Anybody?
Anybody?
It's doable but you'll have
It's doable but you'll have to add custom code around CKEditor, so it's not a CKEditor feature. You'd have to add a listener, save the state (cookies or whatnot) and reload it. Maybe this will help.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
What do you mean by "custom
What do you mean by "custom code around CKEditor"? Does this mean that I need to modify the source code of ckeditor? How do you add a listener?
Nevermind. I found a solution
Nevermind. I found a solution.
The solution
Would you mind to tell about the solution you have found? Thanks in advance.