Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Resetting Undo Manager after content is set to allow the same editor to be used for multiple data rows. #334

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anyandallart
Copy link

When using the same tinymce editor for different rows of content (i.e. open row 1 to populate editor, close row 1, then open row 2 to populate the same editor), there is an issue where if you hit "undo" while in row 2, it will start going back to the content from row 1. I would recommend adding in a line that will refresh the undoManager when the content is re-set.

@deeg
Copy link
Contributor

deeg commented Jun 12, 2017

Can you please squash these into one commit and I can work on getting these changes in.

…. open row 1 to populate editor, close row 1, then open row 2 to populate the same editor), there is an issue where if you hit 'undo' while in row 2, it will start going back to the content from row 1. I would recommend adding in a line that will refresh the undoManager when the content is reset.
@anyandallart
Copy link
Author

Should be good.

@deeg
Copy link
Contributor

deeg commented Jun 15, 2017

It looks like travis says there is a test failing. Can you check on that?

@deeg deeg removed the needs squash label Jun 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants