Skip to content

Integrates the jQuery.PrettyTextDiff to visualize differences in texts.

License

Notifications You must be signed in to change notification settings

contentmath/islandora_pretty_text_diff

Repository files navigation

Islandora Pretty Text Diff

Introduction

Integrates the jQuery.PrettyTextDiff plugin to visualize differences in texts.

Requirements

This module requires the following modules/libraries:

Installation

Follow the typical Drupal module installation instructions here.

The jQuery.PrettyTextDiff plugin should be placed in the libraries directory so that jquery.pretty-text-diff.min.js is found in the root of the jQuery.PrettyTextDiff directory.

jQuery.PrettyTextDiff is a wrapper for Google's Diff Match and Patch JavaScript library. This library is included in the module (Apache License 2.0).

Configuration

Enabling the module adds the diff form to the bottom of datastreams' versions page.

Configuration screenshots

Customization

Islandora modules may call the islandora_pretty_text_diff_content() function with two different versions of content to render a diff.

Documentation

Further documentation for this module is available at www.contentmath.com.

Troubleshooting/Issues

Have an issue with the module?

Need support or additional features or modifications?

Maintainers/Sponsors

Current maintainers:

License

GPLv3

About

Integrates the jQuery.PrettyTextDiff to visualize differences in texts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published