imguolao / monaco-vue

Use monaco-editor loaded from CDN in Vue 2&3, no need to bundling.
https://imguolao.github.io/monaco-vue/
MIT License
211 stars 21 forks source link

Undo/Redo regression in v1.5.2 #67

Closed iamandrewluca closed 1 month ago

iamandrewluca commented 1 month ago

Hey there! Thanks a lot for the effort put into this library.

Recently I updated to v1.5.2 and it seems Undo/Redo functionality is not working anymore. If downgrading to v1.5.1, everything it seems to be fine. I suspect this PR introduced the regression https://github.com/imguolao/monaco-vue/pull/66

Demo Video:

https://github.com/user-attachments/assets/78f5aaa1-144b-4ac6-bee4-96a6f77b3bc1

imguolao commented 1 month ago

Thank you for reporting this issue. I'll take some time over the weekend to fix it.