craft.js
craft.js copied to clipboard
Multiple frames inside of an editor
Is it possible to have multiple <Frame>
components inside of the <Editor>
?
I've tried to achieve something similar to what Framer has (screenshot attached) with multiple frames with different widths. However, the behavior breaks when I put multiple frames into one editor. Drag & Drop indicators are displayed only on the last frame. Also, the "node" returned from the useNode() hook is always the one from the last frame. Is there a workaround for such case?
Currently no, and it will take quite a bit of work to support this unfortunately