Issue #3615šŸ’¬ AnsweredOpened July 13, 2021by onmagic0 reactions

Text in text component cannot update , cannot get final result from toHTML

Quick answerby v-pasha2

Did you get a solution on this ?

Read full answer below ↓

Question

it is text component,

if select body, the text will correct save/apply/store in component toHTML method,

if just updating text, but not leave the text component, just click save

then use "editor.getHTML()", the result is not updated.

Snap77

Answers (4)

v-pasha2• August 3, 2021

Did you get a solution on this ?

v-pasha2• August 3, 2021

We are facing below issue with version "0.17.19" where as on version "0.14.62" its was working fine. We were trying inline editing experience, So when we check the component.getEl() function it returns the updated text for component where as if we use component.toHTML() it returns old value not the...

v-pasha2• August 6, 2021

@artf could you please check on this or any-work around for this ?

GJSBlock• May 17, 2026

Thanks for reporting this, @onmagic. Thanks for sharing your report about text in text component cannot update , cannot get final result from toHTML. To help the team investigate and prioritize this: Please provide: A minimal reproducible example (CodeSandbox/JSFiddle) Your GrapesJS version number...

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.