Track Changes Plugin for CKEditor
based on ICE (NYTimes track changes for contentEditable
elements).
Main Features
- Tracks changes from common input sources (keyboard, paste, plugins that modify the document via standard ckeditor api)
- Name, Id and time stamp associated with each change
- Customizable styles per user
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';
- Optionally include
lite-interface.js
in your source, so you can use the various constants defined in it rather than hard coded strings.
- Configure the plugin, either in the ckeditor configuration file, or in code
Configuration
The LITE plugin is automatically activated after you install it and add it to ckeditor as described above.
Known Issues
- Changes not applied through keyboard events or the ckeditor api are not tracked
- Some deletion scenarios yield surprising results
Browser Compatibility
LITE has been tested on Firefox 15+, Chrome 13+ and MSIE 9+. Support for MSIE 8 is not guaranteed.
License
Copyright (c) LoopIndex.
LGPL
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License 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 Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program as the file lgpl.txt. If not, see
MPL
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.