Plugins for Imperavi Redactor.js 10, part of Redactor for MODX 2.0.
Clone or download
Latest commit 313d9e8 Apr 6, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist Fixing Replace Plugin Apr 6, 2017
src Fixing Replace Plugin Apr 6, 2017
.gitignore Adding grunt workflow Feb 13, 2015
README.md Adding imageurl plugin Dec 6, 2015
bower.json v1.1.3 Apr 6, 2017
gruntfile.js Adding norphan plugin back Feb 25, 2016
package.json v1.1.3 Apr 6, 2017
yarn.lock Fixing Replace Plugin Apr 6, 2017

README.md

redactor-plugins

All plugins are fully compatible* with Imperavi's Redactor v10 and do not require Redactor by modmore©.

As part of our continous effort to bring more awesomeness to your Rich Text experience within MODX Revolution we've authored several Redactor Plugins. This is their home.

*Some plugins require a hack for multiple callback support, which we hope to see added to redactor.js in a future version.

breadcrumb

Visually displays a breadcrumb navigation of the DOM node or nodes being edited.

clips

If set and a valid clipsJson String, adds the Redactor Clips plugin to the toolbar.

Example JSON:

[
    {
        "title": "Buy Button",
        "advanced": "1",
        "tags": "apple cheese",
        "clip": "<a href='https://www.modmore.com/extras/?p=127' class='buy'>Buy this product now</a>."
    },
    {
        "title": "Copyright",
        "tags": "bacon cheese",
        "clip": "©2013 modmore."
    }
]

contrast

Adds a keyboard shortcut for accessibility. F5 to invert eidtor screen contrast FTW.

counter

Begins where the Imperavi Plugin leaves off and adds a nifty little estimated reading time counter. Cool huh?

download

Adds a toolbar button to download editor code.

imagepx

Adds options to set and preview image dimensions in the Image Edit modal window.

imageurl

Adds a tab to the Insert Image modal window that allows images to be inserted directly form a URL.

norphan

Attempts to prevent orphans by replacing the last space between words of block elements with a non-breaking space.

<!-- norphan will change this -->
<blockquote>&#8220;Any man who would letterspace blackletter would steal sheep&#8221;.</blockquote>

<!--to this -->
<blockquote>&#8220;Any man who would letterspace blackletter would steal&nbsp;sheep&#8221;.</blockquote>

replacer

Use CTRL+F to trigger a simple Find and Replace tool.

speek

In supported browsers, adds a toolbar button which reads editor content aloud.

syntax

Adds Ace syntax highlighter to Redactor souce mode.

zoom

Adds a keyboard shortcut to enlarge and decrease font size in content area. Use CTRL + and CTRL -.