Feature: #109031 - Page Position Select Component
See forge#109031
Description
A new component has been added based on the page- that allows
selecting a page and defining the insertion position. The available
positions are inside and after.
Features
- When a page node in the tree is selected, insertion options are displayed.
Options include
InsertandAfter, withAfterapplicable to all direct child pages. - On first render, the selected node is automatically 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 contains:page- 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 specification are needed, replacing previous workflows with more intuitive controls.