Issue #978Opened March 23, 2018by anand-gopinath0 reactions

Custom component type's children are not editable, selectable or highlightable

Question

@artf I'm creating a custom component of Default type and the code looks like

saf

Even I refereed #260 and implemented as you suggested. Here, the custom div tag holds the functionalities of selectable, removable and highlightable etc. I need the child elements as well to be selectable and highlightable. How to do that?

And one more, If do the same thing via BlockManager, it works for all parent and its children 344

Answers (2)

artfMarch 24, 20180 reactions

You can't use data-gjs-* attributes if you attach them directly to the DOM, those attributes are parsed from the model level, so model.components('<div data-gjs-*...')

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.