venveo/craft-redactor-split

Split a Redactor field within Matrix blocks into additional blocks

Installs: 21 564

Dependents: 1

Suggesters: 0

Security: 0

Stars: 6

Watchers: 5

Forks: 0

Open Issues: 1

Language:JavaScript

Type:craft-plugin

4.0.0 2022-07-11 02:32 UTC

This package is auto-updated.

Last update: 2024-11-11 07:36:04 UTC


README

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