Skip to content

Commit 9374c5e

Browse files
authored
Create README.md
1 parent b1beafd commit 9374c5e

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
This package adds a button to CKE5 toolbar that splits the current node after the current paragraph, and then allows to insert a new node in between.
2+
E.g. especially useful to insert images or headlines inside some text node.
3+
Works only on nodes inside ContentCollections (obviously).
4+
5+
![Demo](https://user-images.githubusercontent.com/837032/43409799-9657c1f4-942d-11e8-9e37-922bffeccec4.gif)
6+
7+
8+
## Installation
9+
10+
1. Switch to using CKeditor 5
11+
2. `composer require '@psmb/splitadd:@dev'`
12+
3. Enable splitNode button on node properties that should support it, e.g.:
13+
14+
```
15+
'Neos.NodeTypes:TextMixin':
16+
properties:
17+
text:
18+
ui:
19+
inline:
20+
editorOptions:
21+
formatting:
22+
splitNode: true
23+
```

0 commit comments

Comments
 (0)