- Issue created by @Akhil Babu
- 🇮🇳India Akhil Babu Chengannur
The nodePath value is critical to place each component at its intended position. For example, if only the content region is enabled and there are no components placed on a page, to add a component like sdc.example.two-column with two sdc.example.heading components in each slot, we could previously calculate the nodePath like this:
- sdc.example.two-column → [0, 0]
- first sdc.example.heading → [0, 0, 0, 0]
- second sdc.example.heading → [0, 0, 1, 0]
Then, components could be added one by one using addNewComponentToLayout. It would be great if we could bring back the ability to give nodePath directly in the method itself.