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.
composer require 'psmb/splitadd'
- Enable the splitAdd button on node properties that should support it, e.g.:
'Neos.NodeTypes:TextMixin':
properties:
text:
ui:
inline:
editorOptions:
formatting:
splitAdd: true
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.
This package is currently being maintained for the following versions:
Neos Version | Version | Maintained |
---|---|---|
Neos 7.3 and above | 1.x | Yes |
Neos 3.3 - 7.2 | 0.4 | No |