Title: Undo (Ctrl+Z) command makes the block unusable.
Last modified: February 10, 2020

---

# Undo (Ctrl+Z) command makes the block unusable.

 *  Resolved [Iqbal Kabir](https://wordpress.org/support/users/ikbir/)
 * (@ikbir)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/undo-ctrlz-command-makes-the-block-unusable/)
 * How to reproduce the problem:
    1. Add a CodeMirror Block 1.1 2. Add some code.
   3. Delete some code. (You can skip this step) 4. Press Ctrl + Z (Undo). 5. Now
   you will see the message “This block has encountered an error and cannot be previewed.”
 * I have tested same with **WordPress** default **Code Block**. The problem is 
   not occurring there.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Vicky Agravat](https://wordpress.org/support/users/vickyagravat/)
 * (@vickyagravat)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/undo-ctrlz-command-makes-the-block-unusable/#post-12416035)
 * Hello [@ikbir](https://wordpress.org/support/users/ikbir/)
 * I know about that issue.
 * I will fix that in next update…
 * Thank you.
 *  Thread Starter [Iqbal Kabir](https://wordpress.org/support/users/ikbir/)
 * (@ikbir)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/undo-ctrlz-command-makes-the-block-unusable/#post-12416075)
 * Feeling good. Thank you too.
 *  Plugin Author [Vicky Agravat](https://wordpress.org/support/users/vickyagravat/)
 * (@vickyagravat)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/undo-ctrlz-command-makes-the-block-unusable/#post-12439013)
 * Hello [@ikbir](https://wordpress.org/support/users/ikbir/)
 * The (CTRL+Z) issue is fixed.
    Please update the plugin to 1.2.2

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Undo (Ctrl+Z) command makes the block unusable.’ is closed to new replies.

 * ![](https://ps.w.org/wp-codemirror-block/assets/icon-256x256.png?rev=2001365)
 * [CodeMirror Blocks](https://wordpress.org/plugins/wp-codemirror-block/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-codemirror-block/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-codemirror-block/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-codemirror-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-codemirror-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-codemirror-block/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Vicky Agravat](https://wordpress.org/support/users/vickyagravat/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/undo-ctrlz-command-makes-the-block-unusable/#post-12439013)
 * Status: resolved