Track Changes Plugin for CKEditor
- Track changes plugin for CKEditor, based on ICE (NYTimes track changes for
contentEditable
documents).
Main Features
- Enable / disable track changes mode
- Show / hide tracked changes
- Accept/Reject all/some changes
- Accept/Reject a single change
- Display customizable tooltips for each change
Demo
Demo Page
Site
LoopIndex
Getting Started
- Add the lite plugin to ckeditor. The simplest way to do this is by adding the following line to ckeditor's
config.js
: config.extraPlugins = 'lite';
Include the localization file in your source. Currently, english and german localization is available, other languages are welcome.
<script type="text/javascript" src="ckeditor/plugins/lite/lang/en.js"></script>
Optionally include lite-interface.js
in your source, so you can use the various constants defined in it rather than string literals.
<script type="text/javascript" src="ckeditor/plugins/lite/lite-interface.js"></script>
See the documentation for all the configuration options.
Configuration
The LITE plugin is automatically activated after you install it and edit config.js
as described above. For the full details of tweaking the loading process, toolbar commands, users and more, see the documentation.
API
The LITE plugin exposes a wide range of methods, events and properties for controlling and reporting the tracked changes. see the documentation for details.
Notes
- Note that the ICE engine adds markup to the editor content.
- LITE tracks only text insertion and deletion. Other changes, such as style edits, are not tracked.
Browser Compatibility
LITE has been tested on Firefox 15+ and Chrome 13+. Support for MSIE 9+ is not guaranteed, although the current version seems to work on it.
License
Copyright (c) LoopIndex.
GPL 2.0
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program as the file gpl.txt.
If not, see http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
Written by (David *)Frenkiel (
https://github.com/imdfl)