Issue #2655💬 AnsweredOpened March 16, 2020by Hsin903210 reactions

How to editable in innerHTML

Quick answerby Hsin90321

I find the problem is not dotted line ,the problem is innterHTML!!! the innterHtml let my component can't edit. I want use modal to show input let view change. restart render view the work is perfect. but I still can't edit. there is my code (leave out model,because there are work great) like the gif, I cant't edit 45...

Read full answer below ↓

Question

hello, I want use blockManager to created component. I had run the dotted line, that's great and I can see this. then , this is my component code that's run perfect like this image. I can edit text and see the dotted line in class .chs-row-cell today ,I want add resizable in this component (only this component can resizable ) so, I change code like↓ resizable is run great ,but component have some problem like Image, I try add type: 'text' so I can edit text but I can't see and can't use dotted line in class .chs-row-cell and .chsBlock I want this component can do something.I can see the dotte...

Answers (3)

Hsin90321March 18, 2020

I find the problem is not dotted line ,the problem is innterHTML!!! the innterHtml let my component can't edit. I want use modal to show input let view change. restart render view the work is perfect. but I still can't edit. there is my code (leave out model,because there are work great) like the g...

Hsin90321March 19, 2020

hello, I'm find the answer for editable in #460

const textType = comps.getType('text');

now,the component can edit text. but, still not show dotted line. 1584587780421

artfMarch 20, 2020

You have posted a lot of questions on the same issue and you should avoid it. Create a live demo with the issue. BTW, in your original post you've made a mistake

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 →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.