craftcms / redactor-clips
This plugin Adds Redactor’s “Clips” plugin to Rich Text fields in Craft, which lets you insert predefined code snippets.
Installs: 2 451
Dependents: 0
Suggesters: 0
Security: 0
Stars: 26
Watchers: 2
Forks: 4
Open Issues: 1
Type:craft-plugin
Requires
- craftcms/cms: ~3.0.0-beta.26
This package is not auto-updated.
Last update: 2022-02-01 13:12:57 UTC
README
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 theclips
plugin 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.