Redactor plugin: inline Perch Assets

The plugin enables users to upload/select assets from the Perch Assets system. Images are displayed inline in the text box of the Redactor Editor.

Requirements

Installation

Configuration

General custom editor configurations guide can be found in Perch Documentation.

Enable custom configuration

In your config file:

define('PERCH_CUSTOM_EDITOR_CONFIGS', true);

Adding user configuration for editors

Create a Javascript file addons/plugins/editors/config.js. A guide on how to create one can be found in Perch Documentation.

Your download includes a sample config file which you can use as a reference.

Image upload attributes

The plugin supports the image upload attributes such as imagewidth and imageheight as listed in Perch Documentation

link