This plugin opens the HTML source of CKEditor in a dialog and highlite the source with codemirror. After installation click at the source button of your toolbar.

[b]Known bug:[/b] The plugin uses the setData methode to replace the complete source on dialog close. This produces an empty undo step.


[b]License[/b]

Licensed under the terms of the [url=http://www.gnu.org/licenses/gpl.html]GPL[/url].


[b]Download[/b]

[url=http://]Highlite source with codemirror[/url]


[b]Installation[/b]

1. Extract the archiv.
2. Copy the "sourcepopup" folder to CKEditors "plugins" folder.
3. Copy the "codemirror" folder to a folder of your choice.
4. Set the following code to the page who loads your editor and set codemirror_rootpath with your path:

[/code]
<script type="text/javascript">
   var codemirror_rootpath = 'path/to/codemirrorfolder/';
</script>
[/code]

5. In the CKEditor configuration file (config.js) add the following code:

[code]
config.extraPlugins = 'sourcepopup';
[/code]
