Answer the question
In order to leave comments, you need to log in
How to implement the ability to edit handlebars templates by the user?
Hello.
This is the question: there is a handlebars template on the page, which is a text (for example, an article). By clicking on the edit button , the user is given the opportunity to edit the article, after which, the user clicks save and the article is saved in a new edited form.
Are there similar examples using handlebars? Or tell me how this can be done?
Answer the question
In order to leave comments, you need to log in
One way or another, you will have to store the hbs template inside the database. Display it "as is" in the parent template and hook it into Js as usual. Only the user will have to explain the handlebars syntax
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question