9
Views
2
Comments
[Tiny Rich Text Editor 7] [Tiny Rich Text Editor] Lose Undo and Redo history with render
tiny-rich-text-editor-7
Reactive icon
Forge asset by Lucas Soares
Application Type
Reactive

Hi,Small issue that I do not know how to go around it.The page that my editor is from time to time have to run an operation to need to call a server action.

This do not change any value inside the screen, but triger a render.

In the moment it renders undo and redo buttons of the editor became disabled and lost all user change history.

someone do know a way to keep undo a and redo history after a render event?

2025-09-25 14-38-22
Lokesh Kumar Yadav

Try with is it will help you 

When the screen re-renders, the editor component gets reinitialized — that’s why the undo/redo history resets.

To fix this, store the editor’s state (content + history) in a variable or client-side object before the render, then restore it after reinitialization.

2025-07-22 10-30-27
Mandar Deshpande

Even updating an unrelated variable used somewhere in the same Block can trigger re-render. So, the best option is to prevent the editor from re-rendering.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.