Skip to content

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

Notifications You must be signed in to change notification settings

mindscreen/Psmb.SplitAdd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. E.g. especially useful to insert images or headlines inside some text node. Works only on nodes inside ContentCollections (obviously).

Demo

Installation

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

Note: when using neos/neos-ui older than 2.0, you need to switch to using CKeditor 5:

Neos:
  Neos:
    Ui:
      frontendConfiguration:
        defaultInlineEditor: 'ckeditor5'

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.6%
  • PHP 0.4%