Skip to content
Default installation of redactor config and plugins
JavaScript PHP
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
redactor-plugins initial commit Feb 6, 2020
README.md Update README.md Mar 18, 2020
config.js update config.js Feb 6, 2020

README.md

perch-redactor-default

Default installation of redactor config and plugins

Installation

  • Download the latest version
  • Unzip the download
  • Place the redactor-plugins folder and the config.js file in /perch/addons/plugins/editors/
  • Add define('PERCH_CUSTOM_EDITOR_CONFIGS', true); to your /perch/config/config.php file

Configuration

default plugins

You can add or remove additional plugins to the config file and redactor-plugins folder. The config file is set to read values from the editor-config textarea attribute. (<perch:content id="desciption" type="textarea" label="Text" html editor="redactor" editor-config="full" >) It expect a value of full, simple, or minimal.

Note: The css file for the inlinestyle plugin is loaded through the /perch/addons/plugins/ui/_config.inc file. THere may be a way to do this through the editor config file.

I use this as a starting point for my redactor usage in Perch CMS.

You can’t perform that action at this time.