Editing Text and using toolbar command to insert a component - wipes the unsaved changes #5604
Replies: 2 comments
-
PR submitted |
Beta Was this translation helpful? Give feedback.
0 replies
-
resolved in future release |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an issue where if I create an action on the RTE toolbar for a text component, after calling component.view?.insertComponent(newComponentDef, { at: selectedIndex}); the current text component text is set to before the edit.
It's almost like the editing changes have not been committed to the model so when insertComponent() is called, it uses the old values.
Does anyone have sample code where a user has edited the text node and then clicked an RTE action to insert a component that does not wipe the changes performed?
Example of command
Beta Was this translation helpful? Give feedback.
All reactions