This plugin allows defining other nodetypes as "next" nodetypes, which can be used to quickly create a follow-up content element while editing a page in the Neos CMS backend.
composer require shel/neos-next-node
'Neos.Demo:Content.Text':
options:
nextNodeTypes:
'Neos.Demo:Content.Text': true
'Neos.Demo:Content.Image': true
This would lead to the following additional buttons in the Neos CMS backend:
nextNodeTypes
option. This also means, that you only have to adjust this setting for a nodetype if you want a different behaviour than the default one.
The plugin also registers hotkeys for quickly creating a follow-up content element:
- Ctrl + Enter
- Cmd + Enter (Mac)
Copy the following configuration into your Settings.yaml
to adjust the plugin's behaviour:
Neos:
Neos:
Ui:
frontendConfiguration:
'Shel.Neos.Next.Node:ToolBar':
# If no `nextNodeTypes` is configured for a node type, the current node type will be used as fallback.
currentNodeTypeAsFallback: true
Run the following commands in the ui-plugin
folder to build a new version of the plugin:
yarn
yarn build
Or during development, run
yarn watch
The public first release of this package was generously sponsored by Vogel communications group.
See License