Lite integrates the LITE track changes plugin for CKEditor with Drupal. https://ckeditor.com/cke4/addon/lite
To download this module fork, Lite library and opentip, using Composer template for Drupal https://github.com/drupal-composer/drupal-project, add these lines to your repositories section on composer.json file:
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "vcs",
"url": "https://github.com/Mogtofu33/lite"
},
{
"type": "package",
"package": {
"name": "library/lite",
"version": "1.2.28",
"type": "drupal-library",
"dist": {
"url": "https://download.ckeditor.com/lite/releases/lite_1.2.28.zip",
"type": "zip"
}
}
},
{
"type": "package",
"package": {
"name": "library/opentip",
"version": "2.4.6",
"type": "drupal-library",
"dist": {
"url": "https://github.com/enyo/opentip/archive/v2.4.6.tar.gz",
"type": "tar"
}
}
}
],
Then run
composer require "drupal/lite:2.x-dev" "library/lite:1.2.28" "library/opentip:2.4.6"
<del class="ice-del ice-cts-*" data-changedata data-userid data-cid data-last-change-time data-time data-username> <ins class="ice-ins ice-cts-*" data-changedata data-userid data-cid data-last-change-time data-time data-username>
Lite plugin default state settings are available from the text format configuration form.
After the installation, you can configure specific options form /admin/config/content/lite/settings
Some global permissions to allow roles to toggle or resolve changes for all text formats can be set from People > Permissions (/admin/people/permissions#module-lite)
If the Drupal Content Moderation module is enabled, Lite text format option by Workflow and by states will be available.
Prior to text format configuration you must enable a Workflow on your content type and set the Workflow transitions permissions to your roles accordingly.
Lite 1.2.30 can cause an issue with images or copy/paste, see https://www.drupal.org/node/2907869
If an image is added without any text it should be not tracked.
If image caption is enable, the image will not be tracked.