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
Revert most of https://github.com/elkarte/Elkarte/pull/2318 #2919
Comments
Looking at the recent changes, the undo plugin received a couple of little tweaks: I'm not sure how relevant the first is, but apparently using the "current" version instead of ours makes the undo way better:
|
The first is part of the dropping of jquery as a dependency for the editor, so we can't use that unless we do a somewhat massive overhaul of all other plugins (mention, draft, ila, etc) I just can't justify that work since it really does not buy us a thing in 1.1 and will just be a time suck. I do have a editor branch were I backported a lot of the offical fixes in to a version of the editor that still used jquery https://github.com/Spuds/SCEditor/tree/Elk_Branch_1.5.3 this has the second change to the undo as well. I should troll for any other updates that we can pull back and pack this up and install it on the site to make sure there are no issues. |
@Spuds what would you think about this: I removed the redoState (mostly, I have the declaration that is a leftover) and used a cursor over the undoState to keep track of where we are. It seems to me an easier and cleaner solution than pop and shit stuff around from arrays. |
@Spuds did you by chance incorporate the undo tweak I made? |
Of course ... but then I did not commit it to the ElkArte repo Doh! 😇 I'll PR it to close this issue for now. |
remove undo and redo plugins for the editor. No one is going to take the time to fix them.
The text was updated successfully, but these errors were encountered: