Issue #1208Opened June 15, 2018by ssabrewolf0 reactions

Create minimalist Panel left sidebar III

Question

hello @artf , thanks to you for the comment on #1188, i see in the code https://codepen.io/artf/full/MQpZPj/ uses the appendTo property to render a filtered collection of component in a div with id # block1 , is posible to render 2 different collections, 1 in block1 and another in block2, since the BlockManager only points to one single dom element, i tried to use editor.BlockManager.render twice, the second time after changin editor.BlockManager.getConfig().appendTo property but no luck it keeps changing the orignal block collection in block1, i mean, is possible to have 2 different blocks at the same time in 2 different divs one block with popular components and another with the remaining ones Regards

Answers (2)

artfJune 16, 20180 reactions

@ssabrewolf as you get it right, BlockManager points only to one single DOM element, so you can't create 2 different collections, but you can definitely move elements around with plain javascript. You should do it once the content is rendered

editor.on('load', () => {
	// move stuff
})
lock[bot]September 17, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.