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.
Known bug: The plugin uses the setData methode to replace the complete source on dialog close. This produces an empty undo step.
License
Licensed under the terms of the GPL.
Download
highlite_source_with_codemirror.zip
Installation
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:
<script type="text/javascript"> var codemirror_rootpath = 'path/to/codemirrorfolder/'; </script>
Re: Highlite source with codemirror
Re: Highlite source with codemirror
Does this work for anybody else? When I click on the source button the popup appears without any code. I get the following error:
there's a Plugin for this:
http://ckeditor.com/addon/codemirror