i think it's the same issue with fckeditor versions 2.x where you have to put the editor in a form before the save button enables itself. and the save button itself just tells the form to submit itself.
OK. Is there a way to hijack the button through the API and have it use my own function? Or would I just need to use external javascript to do that? ...or create my own button?
josh.bowdoin wrote: I have an external save button that works, but it would be nice for both buttons to work, since most users are used to that location for a save button. Any hints?
Hey Josh.
I needed to do this as well. You could add your own button, modify the save plugin, or do what we did and simply overwrite the save plugin at runtime.
have a look to my plugin. It adds a ajax save button to the toolbar. Also a loading ajax gif is displayed during the request. Works on ckeditor version 4.
We were using standard package for CKEditor and at that time save button was working and in enabled state. but when we switched to full packge the save button is disabled and now unable to click on save button in editor
Please suggest proper solution i have tried all of the above
Re: Enable save button
Re: Enable save button
Re: Enable save button
http://docs.fckeditor.net/CKEditor_3.x/Developers_Guide/Integration#Step_3:_Saving_the_Editor_Data
Re: Enable save button
Hey Josh.
I needed to do this as well. You could add your own button, modify the save plugin, or do what we did and simply overwrite the save plugin at runtime.
CKEDITOR.plugins.registered['save']= { init : function( editor ) { var command = editor.addCommand( 'save', { modes : { wysiwyg:1, source:1 }, exec : function( editor ) { var fo=editor.element.$.form; editor.updateElement(); rxsubmit(fo); } } ); editor.ui.addButton( 'Save',{label : 'My Save',command : 'save'}); } }Re: Enable save button
Re: Enable save button
http://dev.fckeditor.net/ticket/4507
hi
hi
i have solution of this problum
you should use textarea tag in the form tag
exam;
<form>
<textarea id='ckeditor' name='ckeditor'> </textarea>
</form>
it will automatic enable save button
have a look to my plugin. It
have a look to my plugin. It adds a ajax save button to the toolbar. Also a loading ajax gif is displayed during the request. Works on ckeditor version 4.
http://stackoverflow.com/questions/18956257/how-to-add-an-ajax-save-button-with-loading-gif-to-ckeditor-4-2-1-sample-plugi
save button is disabled after using full package of CKEditor
Hi,
We were using standard package for CKEditor and at that time save button was working and in enabled state. but when we switched to full packge the save button is disabled and now unable to click on save button in editor
Please suggest proper solution i have tried all of the above
Latest version lets you write
Latest version lets you write (on:save) when creating to add your own handler. It works well.
To get the editor button to
To get the editor button to show as active, put your textarea in a form.