Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update trumbowyg.history.js Tried to Fix the Undo and Redo Button which had issues #1460

Closed
wants to merge 3 commits into from

Conversation

rockO7
Copy link

@rockO7 rockO7 commented Jun 2, 2024

Fixed the Undo and Redo Button Functionality which had Issues when making it Bold and Then trying to Undo then entire Content was copying and Appending instead of removing the Bold One i have tried to Fix it please check and if any issues please let me kow

@Alex-D
Copy link
Owner

Alex-D commented Jan 29, 2025

From what I see in the code, this will only work if you change the text, but not if you change the style as you compare only the text instead of the tags in the old version.

The right way to do that should be something with both approaches.

@Alex-D Alex-D closed this Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants