Opened 16 years ago

Last modified 11 years ago

#863 confirmed New Feature

Save button responding to changes

Reported by: anonymous Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:


Hi there, it would be a really nice default behavior if the save button could "dim" immediately after a save, and reactivate on a change to the editor contents. In other words, behaving like typical desktop apps.

(In my case, I am submitting the form via an iframe without refreshing the whole page.)

Similarly, it would be nice if I could programmatically dim/reactivate the Save button -- such that when another field in my form changes, I can reactivate the Save button in the editor.


  • Matt


Moved from SF:

Change History (3)

comment:1 Changed 16 years ago by Martin Kou

Reporter: changed from Martin Kou to anonymous

Hi Matt, you could get that functionality for Ajax implementation or whatever form submitting with your custom javascript as you need. Make use of the "FCKeditor oncomplete event" to redefine the onsubmit of your form this way:

FCKeditor_OnComplete( editorInstance ){
	$('myform').onsubmit = function() {
		return false;

Passing "editorInstance" that way will let you get the changed editor content.

Then you just need to have a minimal 'myform' for the "fckeditor save icon" to work, though is stopped because of the false return:

<form id=myform>
//here your fckeditor

Hope that works,

  • gas


Moved from SF. Original poster: Anonymous

comment:2 Changed 16 years ago by Wojciech Olchawa

Keywords: HasPatch added

comment:3 Changed 11 years ago by Jakub Ś

Keywords: SF HasPatch removed
Status: newconfirmed
Version: 3.0
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy