Skip to content

Provides a plugin to "Split" a Redactor field nested in a matrix block into two blocks of the same type.

License

Notifications You must be signed in to change notification settings

venveo/craft-redactor-split

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redactor Split plugin for Craft CMS 4

This plugin adds a button to redactor fields that are nested within matrix blocks that when clicked, spawns a new matrix block of the same type and moves the current paragraph/tag on your cursor to the same field in the new block.

Best paired with a Matrix Content builder

Watch a Demo

Requirements

  • Craft CMS 4
  • Redactor for Craft CMS

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 venveo/craft-redactor-split
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Redactor Split.

  4. Add the plugin to your Redactor configurations in the "plugins" array:

{
    "buttons": [
        "bold",
        "italic",
        "unorderedlist",
        "orderedlist",
        "link",
        "etc"
    ],
    "plugins": ["redactor-split"],
    "toolbarFixed": false
}

Brought to you by Venveo

About

Provides a plugin to "Split" a Redactor field nested in a matrix block into two blocks of the same type.

Resources

License

Stars

Watchers

Forks

Packages

No packages published