Issue #1162πŸ’¬ AnsweredOpened June 4, 2018by kaloyankostov0 reactions

Editable components in Handlebars rendered template

Quick answerby kaloyankostov

Just to clarify further as I now feel that my post was longer than it needed to be. I did some more digging and found #978. The issue described there is identical to mine. I basically have a custom component which has several child elements in the html string however none of the children are selectable/editable. They...

Read full answer below ↓

Question

Hi, I've been using grapes for about a couple of days now. Thanks for the awesome work on this project. I've read through the API docs (hopefully didn't miss this piece) and I've also tried some stuff out. Basically, I'm using grapes to load existing .hbs (handlebars) files in that the user will then be able to edit. I saw a previous question regarding how to integrate handlebars in #938 and I followed the advice there and ended up with. And then setting the components on the editor like so: This works very well and I end up with my rendered handlebars template being shown in the editor with...

Answers (3)

kaloyankostovβ€’ June 6, 2018

Just to clarify further as I now feel that my post was longer than it needed to be. I did some more digging and found #978. The issue described there is identical to mine. I basically have a custom component which has several child elements in the html string however none of the children are select...

artfβ€’ June 16, 2018

I see there are some conflicts in few points:Keep the source code of the handlebars templateHave the individual elements of the rendered handlebars template be editable in the grapes editor If you edit stuff you'd expect to get those edits, right? But you're still asking handlebars template as a re...

no-response[bot]β€’ June 26, 2018

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we ne...

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.