redactor-clips
redactor-clips copied to clipboard
Adds Redactor’s “Clips” plugin to Rich Text fields in Craft
Redactor Clips for Craft CMS
This plugin Adds Redactor’s “Clips” plugin to Rich Text fields in Craft, which lets you insert predefined code snippets.
Requirements
This plugin requires Craft CMS 3.0.0-beta.26 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project -
Then tell Composer to load the plugin:
composer require craftcms/redactor-clips -
In the Control Panel, go to Settings → Plugins and click the “Install” button for Redactor Clips.
-
Open your
craft/config/redactor/folder, and add theclipsplugin in whichever Redactor configs you want it to be enabled in:
"plugins": ["clips" /* , ... */ ]
- Any Redactor fields using those configs will have a “Clips” menu button with your custom defined clips in it.