Issue #4020Opened December 17, 2021by cunj120 reactions

BUG: SVG text textcontent not updated when calling getHtml on editor

Question

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Chrome v96

Reproducible demo link

https://jsfiddle.net/1hrLxdba/30/

Describe the bug

How to reproduce the bug?

  1. Drag a svg text block to the canvas.
  2. Change it's content via the svg-text trait
  3. Click on print html

What is the expected behavior? The editor html should be printed with the text element's text content changed. What is the current behavior? The editor html is printed without the changes that were applied

Code of Conduct

  • I agree to follow this project's Code of Conduct

Answers (1)

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.