Use only one "unload" listener to destroy Editor and WysiwygEditor
Add ability to update UI after editor.toggle() call
(preparation for #1)
Optimize: get #editor-isVisual only once
(preparation for #1)
Add onWysiwygToggle() to demo: now editor.toggle() also update UI
(preparation for #1)
Don't use with(): not available in strict mode
Add ability to backup (and restore) typed data
Note: we always show Restore/Clear buttons, if there is any backuped data (even if data may be successfully saved bacause we don't know about this)
(#1)
Simplify: we already have default value for "root" option
Increase margin between Restore/Clear and other buttons
+ unify case: Remove Formatting -> Remove formatting
(#1)
Add "backupEnabled" and "backupInterval" options
(#1)
Correctly hide backup controls, is backups disabled or not supported
(#1)
Use name of textarea in backup key, if id is missing
(#1)