This plugin is under development. It does not work correctly.
With this plugin you can insert and edit sourcecode. It supports PHP and JS source. If there is PHP or JS code in your editor, code is replaced by fakeelements (shows little icons in WYSIWYG mode).
Known bug: In WYSIWYG mode everything looks good. But if you switch to source mode you will see the disaster. If anybody find a solution, you are welcome.
License
Licensed under the terms of the GPL.
Download
insert-edit_source_code_icons.zip
Installation
1. Extract the archiv and copy the "scriptcode" folder to CKEditors "plugins" folder.
2. In the CKEditor configuration file (config.js) add the following code:
config.menu_groups = 'inscode'; config.extraPlugins = 'scriptcode'; config.toolbar_YourToolbarName = [ ['Button','Button','ScriptCode'] ];
3. Copy the "codemirror" folder to a folder of your choice. If you are using "sourcepopup" plugin, you don't need codemirror second time.
4. Set the following code to the page who loads your editor and set codemirror_rootpath with your path:
<script type="text/javascript"> var codemirror_rootpath = 'path/to/codemirrorfolder/'; </script>
Update
Add a compressed version