Feature: #109031 - Page position select component
See forge#109031
Description
A new component has been added, based on the page-, that allows
a page to be selected and an insertion position to be defined. Possible
positions are inside and after.
Features
- When a page node in the tree is selected insertion options are displayed.
Options include
InsertandAfter.Afteris applicable to all child pages. - On first render, the selected node is scrolled into view
using
scroll.Node Into View If Needed - The component emits a custom event
typo3:whenever the insertion position changes. The event payload containspage- position- select- tree: insert- position- change page(the selected page ID) andUid position(the chosen insertion position), allowing other modules to react accordingly.
Example usage
<typo3-backend-component-page-position-select
activePageId="1"
insertPosition="inside"
>
</typo3-backend-component-page-position-select>
Copied!
Impact
This component can be used anywhere in the backend where page selection and insertion position are needed, replacing previous workflows with more intuitive controls.