Issue #569💬 AnsweredOpened November 24, 2017by markbailey0 reactions

Text block content duplication

快速解答by ryandeba

Hi @markbailey, I was able to recreate that issue and submitted a pull request to fix it. The duplicated content only appears to be in the dom, not in the component properties, and forcing the view to render after editing seems to fix it.

Read full answer below ↓

Question

I have reproduced this on the website demo, so I know it is not due to my coding. If you set a min-height, width to a text block and then delete all the text so it is empty, when you reenter text the text duplicates.

Answers (3)

ryandebaNovember 24, 2017

Hi @markbailey,

I was able to recreate that issue and submitted a pull request to fix it. The duplicated content only appears to be in the dom, not in the component properties, and forcing the view to render after editing seems to fix it.

markbaileyNovember 24, 2017

Hi @ryandeba , thanks for that info and the work around. I look forward to your changes getting merged.

lock[bot]September 18, 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.