Issue #1363πŸ’¬ AnsweredOpened August 14, 2018by jvillena0 reactions

Problem trying to inject new HTML content in the Editor

Quick answerby jvillena

I've just fixed my problem doing a workaround after researching on the grapesjs core. I'm going to explain the solution that I did: 1) I'm using a popup dialog with a bootstrap switcher to select text language. The complicate issue is how to update the component model that are not selected on the editor. To accomplish...

Read full answer below ↓

Question

Hi @artf, I'm now working on doing content in multi-languages inside the editor but I would like to know how can I save in the Dom HTML new HTML elements closest to the element selected (or update the these elements as new components inside the editor). For instance, I'm including some hidden div inside the HTML but when I'm trying to save the html doing getHTML from the editor I'm not capable of getting this new HTML content.

Thanks in advance.

Answers (2)

jvillenaβ€’ August 17, 2018

I've just fixed my problem doing a workaround after researching on the grapesjs core. I'm going to explain the solution that I did: 1) I'm using a popup dialog with a bootstrap switcher to select text language. The complicate issue is how to update the component model that are not selected on the e...

lock[bot]β€’ September 17, 2019

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.