psmb/splitadd

There is no license information available for the latest version (1.0) of this package.

Allows to insert images and other nodes between text paragraphs in one click

Installs: 4 918

Dependents: 1

Suggesters: 0

Security: 0

Stars: 11

Watchers: 3

Forks: 4

Open Issues: 1

Language:JavaScript

Type:neos-package

1.0 2024-03-08 10:38 UTC

This package is auto-updated.

Last update: 2024-11-08 11:59:44 UTC


README

This package adds a button to the inline editor toolbar that splits the current node after the current paragraph, and then allows to insert a new node in between.

This is useful to insert new nodes inside a text node, e.g. to insert images or headlines inside some text node.

It (obviously) works only on nodes inside ContentCollections.

Demo

Installation and Configuration

  1. composer require 'psmb/splitadd'
  2. Enable the splitAdd button on node properties that should support it, e.g.:
'Neos.NodeTypes:TextMixin':
  properties:
    text:
      ui:
        inline:
          editorOptions:
            formatting:
              splitAdd: true

!!! Migration from 0.x to 1.0

In versions below 1.0, the configuration mentioned before was simply ignored - if SplitAdd was installed, it was enabled for all inline editor node types. So when upgrading from 0.x to 1.0, you need to add the configuration to enable SplitAdd for the node types you want it to be enabled for.

Compatibility and Maintenance

This package is currently being maintained for the following versions: