Right now I have inline editing enabled and a toolbar displayed. When you click outside of the editable area the toolbar disappears. Is there a way to turn this off so that clicking outside the editable ares does not cause the toolbar to disappear?
Tue, 12/11/2012 - 17:10
#1
Try this function: http:/
Try this function: http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-startupFocus
Not sure if it works with Inline Editing, but you're welcome to try.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
startupFocus does
startupFocus does automatically display the toolbar when the inline editiing is started but it doesn't seem to disable the ability to remove the toolbar. I would like to disable the ability to remove the toolbar by clicking outside the editable area. Instead I would like the user to press on a button to removed the toolbar and exit from inline editing.
Try this:
Try this:
var instance = CKEditor.inline( document.getElementById("myid") );
instance.on('blur',function( e ){
return false;
});
Not sure what this will break, but a quick test showed that it does keep the toolbar around.
plz visit
Thats great job.
Thanks, that worked.
Thanks, that worked.
broke rightclick
need this functionality too but when i implimented the onBlur code above, i lost the ability to right click!
i can't reproduce on the demo. must have some other conflict. sorry.
SharedSpaces plugin
This is the reason I've been playing with the upcoming 4.1 branch see sharedspace plugin.
https://github.com/ckeditor/ckeditor-dev/tree/major/plugins/sharedspace
Plugin allows you to place toolbar in any element you choose. See samples dir.