https://github.com/psmb/psmb.splitadd
Allows to insert images and other nodes between paragraphs in one click
https://github.com/psmb/psmb.splitadd
neoscms
Last synced: about 1 year ago
JSON representation
Allows to insert images and other nodes between paragraphs in one click
- Host: GitHub
- URL: https://github.com/psmb/psmb.splitadd
- Owner: psmb
- Created: 2018-07-30T15:39:32.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-02-11T13:48:29.000Z (over 1 year ago)
- Last Synced: 2025-04-18T00:46:13.322Z (about 1 year ago)
- Topics: neoscms
- Language: JavaScript
- Size: 105 KB
- Stars: 11
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Adding a new node inside a text node in Neos CMS
===============================================
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.

## Installation and Configuration
1. `composer require 'psmb/splitadd'`
2. Enable the splitAdd button on node properties that should support it, e.g.:
```yaml
'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:
| Neos Version | Version | Maintained |
|--------------------|---------|------------|
| Neos 7.3 and above | 1.x | Yes |
| Neos 3.3 - 7.2 | 0.4 | No |