GuglaniNiharika

Results 3 comments of GuglaniNiharika

@timc1 https://github.com/prevwong/craft.js/pull/22 In your component, you can call the selectNode function with nodeId. ``` const { actions: {selectNode}, } = useEditor(); const { id, } = useNode(); useEffect(() => {...

@timc1 Yes, it will. So, if you drag and drop some component say `Heading` into canvas, it would make `selected` property of that particular node as true

@timc1 You want to select the recent most dropped component right? So, if you have the above code in your user components, the initial mount will only happen for the...