Hi everybody,
I've just found this product and I think it's a powerfull tool but I've 2 problems :/
The first one :
When I want to use the inline editor in a "normal" div (directly in the php page) the toolbar appear. But when I want to use it in a "loaded" div (php file is loaded in an other div (a contener) by a script) the edition is possible but the toolbar doesn't appear...
The second :
I don't understand how I can save the modifications... I want to save the them when the user's mouse leaves the div. Is it possible?!
Thank you very much :)
Kind Regards,
ChampiBoy
Second question:
Second question:
This worked for me. Use onBlur.
CKEDITOR.on('instanceCreated', function(event){
var editor = event.editor,
element = editor.element;
editor.on( 'blur', function( e ){
//code to save data goes here
//console.log(e.editor.getData());
});
});
Adam