Closed (fixed)
Project:
Save Form State
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2012 at 23:14 UTC
Updated:
29 Aug 2013 at 16:51 UTC
Hey jesoX,
Really good module, best implementation I've seen so far for D7. Works perfectly with plain text however when CKEditor is involved (note this may happen for other WYSIWYG editors but I haven't tested) the content doesn't appear to be saved.
Is there anything I can do to get this to work with CKEditor?
Cheers,
Alex
Comments
Comment #1
compujohnny commentedHi Alex,
This is an issue with the sisyphus library, it appears to have been fixed here https://github.com/simsalabim/sisyphus/pull/13, but the fix is not commited yet to the official Github repo
You can wait until it's officially committed or you can modify the js file yourself with the updates proposed in the pull request
Comment #2
AlxM commentedHi JesoX,
Thanks for the quick response and pointing me in the right direction. I edited the js as per the pull request but didn't have any luck, which is most likely down to my lack of skills. I'll keep having a play around and let you know if I can get it to work.
Cheers,
Alex
Comment #3
Yurii commentedHi,
I was looking for integration to make it working with CKeditor for a while.
I get it working with modifiead sisyphus.js from this git: https://github.com/TommiGustafsson/sisyphus/tree/8e5b052e99defbaaa4cd30c...
Instructions how to get it working with CKeditor follow, its working for me like a charm.
Installation instructions with support of CKeditor
Save the file
I,Hope this will helps
Comment #4
BrockBoland commentedThis can be added more easily once #2008952: External libraries is in, because it will be easier to swap out the Sisyphus library. The changes to
form_save_state.jscan be included right in the module, with checks to see ifCKEDITOR.instancesis set.Comment #5
BrockBoland commentedAdded in http://drupalcode.org/project/form_save_state.git/commit/754de6b
Yurii, I re-worked your code a bit to improve commenting and use the
Drupal.behaviorsstyle (which wasn't in place before). The CKEditor support is now included right inform_save_state.js, but is only used when CKEditor is present. I also updated the README to note that a fork of Sisyphus is needed for this to work (and will update the module page with updated installation instructions once the d.o server has packaged the updated -dev release).