Issue #1722💬 AnsweredOpened January 10, 2019by Ramkumar-Murugesan0 reactions

How to make my custom tag as selectable and editable inside of canvas ?

Quick answerby artf

Read full answer below ↓

Question

Hi, I try to change my custom tag of ion-item has div in view properties but It doesn't work for me as I expected. my custom Blocks is my custom view is comps.addType('form-type', { model: defaultType.model.extend({ tagName: ion-item }, { isComponent(el) { if(el.tagName == 'ion-item') return {type: 'form-type'} }, }), view: defaultType.view.extend({ tagName: 'div' //<-- in canvas div will be used }) }); my screenshot is in the above screenshot. u can see that I can't able to select the inner input box and label My expectationsneed to select the inner input box for changing its type and placeh...

Answers (2)

artfJanuary 14, 2019
content: {
		// use components not content
        components: `<ion-list class="list list-md"> 
lock[bot]January 15, 2020

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.