The 'save' button could be seen as a 'send to the server and exit the editor' button...at least that's the behaviour I thought it would have.
The save plugin says that it tries to submit the form, or execute the click() method on the submit button to submit the form.
Uh...what form? I have a bunch of divs with text in them. I have use jquery to set up a click handler on these divs with a class of 'edittable' in them:
So do I have to put a form in each div? Is it easier to interface with jeditable on top of this?
Thanks,
-Ken
The save plugin says that it tries to submit the form, or execute the click() method on the submit button to submit the form.
Uh...what form? I have a bunch of divs with text in them. I have use jquery to set up a click handler on these divs with a class of 'edittable' in them:
$('.edittable').click( function() { $(this).ckeditor(); myeditor = $(this).ckeditorGet(); myeditor.on('blur',function() { alert(myeditor.getData()); if (myeditor) { myeditor.destroy(); myeditor=null; } });
So do I have to put a form in each div? Is it easier to interface with jeditable on top of this?
Thanks,
-Ken
Re: [SOLVED]Any examples on how to use the 'save' button?
Thank god for the internet (and Jeremy Bell for that matter).
For anyone interested in using ckeditor with jeditable, this article can help:
http://blog.amps211.com/this-is-me-professing-my-love-for-jquery-and-how-i-got-ckeditor-working-with-jeditable/
-Ken