I'm using CKEditor to create an on-the-fly textarea with text controls. As it's not part of a form, I don't have a submit button - before it used CKEditor, it was just a plain textarea, and the text was saved when the user hit Enter or on blur.
I want the user to be able to create new lines by clicking 'Enter', so I need an alternative, and I'm not sure that saving on blur is intuitive enough for users who have not come across it before.
Ideally I'd like to add a button to the toolbar, which says 'Save' or 'Submit' or something like that. Is there a way I can do that? Or is there a better way of handling this?
Thank you for any help!
I want the user to be able to create new lines by clicking 'Enter', so I need an alternative, and I'm not sure that saving on blur is intuitive enough for users who have not come across it before.
Ideally I'd like to add a button to the toolbar, which says 'Save' or 'Submit' or something like that. Is there a way I can do that? Or is there a better way of handling this?
Thank you for any help!
Re: Can I create a 'save' or 'submit' button in the toolbar
add this auto save feature .. its very easy to implement..
viewtopic.php?f=18&t=24128
Save button for ckeditor
Replace the "save" plugin contents with this:
and in the config.js file you need to specify the
This solution has jQuery dependency.
In this part of code you can specify exact parameters that you would like to send to server