To do this, you need to create your own implementation. Overwriting offsetRelatedLookupPopup is a bit hacky, but Django doesn't seem to have support for a better solution.
UPDATE: This ticket describes a pop-up message.
In your static folder where 'ckeditor' lives, create a plugin, for example
/app/ /static/ /app/ /js/ /ckeditor/ /plugins/ /feincms/ /images/ mediaFile.png plugin.js
plugin.js
/** * Basic sample plugin inserting a feincms mediaFile into the CKEditor editing area. */ // Register the plugin with the editor. // http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.plugins.html CKEDITOR.plugins.add( 'feincms', { // The plugin initialization logic goes inside this method. // http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.pluginDefinition.html
Be sure to add the plugin to the ckeditor init script, for example.
{ name: 'insert', items : [ 'feincms','HorizontalRule','SpecialChar' ] },
source share