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

Cut, undo, redo is not working properly #227

Closed
saggiyogesh opened this issue Feb 10, 2016 · 4 comments
Closed

Cut, undo, redo is not working properly #227

saggiyogesh opened this issue Feb 10, 2016 · 4 comments
Labels
bug:core Bug in core (trumbowyg.js)

Comments

@saggiyogesh
Copy link

After Cut, undo, redo, tbwchange event is not giving correct html.

@Alex-D Alex-D added the bug:core Bug in core (trumbowyg.js) label Feb 10, 2016
@Alex-D
Copy link
Owner

Alex-D commented Feb 10, 2016

Curious. I need to check that. Which version do you use? Last beta release or develop branch?

@saggiyogesh
Copy link
Author

latest. as i see code there is no handler for cut event.

@Alex-D
Copy link
Owner

Alex-D commented Feb 10, 2016

Nope. It's managed by the browser :)

@Alex-D Alex-D closed this as completed in b4852cd Feb 11, 2016
@Alex-D
Copy link
Owner

Alex-D commented Feb 11, 2016

I've found a workaroud which is to listen Ctrl+Z / Ctrl+Y keyup events and cut event.

It's only on develop branch for now. I hope it was what you expected.

sgolomedov pushed a commit to sgolomedov/Trumbowyg that referenced this issue Nov 27, 2018
Force to update textarea content after undo/redo.
Issues Alex-D#227, Alex-D#417.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:core Bug in core (trumbowyg.js)
Projects
None yet
Development

No branches or pull requests

2 participants