You have to change the plugin's "modes" command. Knowing CKEditor there's probably more than one way to do it, but try this... First download the source version from CKBuilder to have access to the plugin's source code. Then in the ckeditor\plugins\save\plugins.js file, edit line 44 to look like this:
Adding plugins manually is asking for trouble. I did it by directly adding the Save plugin to the download package using the arrow on the CKBuilder page, and downloading the Source (Big N’Slow) version (under the download button).
You have to change the plugin
You have to change the plugin's "modes" command. Knowing CKEditor there's probably more than one way to do it, but try this... First download the source version from CKBuilder to have access to the plugin's source code. Then in the ckeditor\plugins\save\plugins.js file, edit line 44 to look like this:
command.modes = { wysiwyg: !!( editor.element.$.form ), source : 1 };It will make the button active in source. Not an expert on this so not sure if it's enough, but it's a start! More here and here.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
On this page
On this page
http://ckeditor.com/builder
I found the plugin "save" and downloaded "save_4.0.1.zip".
Then I add "save" folder (which was inside this zip) file into /plugins/ folder.
I changed the 44th line like you said.
Then in my config.js I added ",save" to config.extraPlugins.
Save button is still disable in "source" mode...
I also added "alert" in "init" function in the "new" save plugin. Alert wasn't fired...
Adding plugins manually is
Adding plugins manually is asking for trouble. I did it by directly adding the Save plugin to the download package using the arrow on the CKBuilder page, and downloading the Source (Big N’Slow) version (under the download button).
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Got it, thanks.
Got it, thanks.
But I have already downloaded CKeditor 4 and have written a lot of plugins for it, changed config.js.
Maybe there is another way? E.g. change the core or overwrite "show save button" method somewhere?
enable save button in ckeditor
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