Skip to content
This repository has been archived by the owner on Jul 29, 2018. It is now read-only.

craftcms/redactor-clips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require craftcms/redactor-clips
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Redactor Clips.

  4. Open your craft/config/redactor/ folder, and add the clips plugin in whichever Redactor configs you want it to be enabled in:

"plugins": ["clips" /* , ... */ ]
  1. Any Redactor fields using those configs will have a “Clips” menu button with your custom defined clips in it.

About

Adds Redactor’s “Clips” plugin to Rich Text fields in Craft

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages